From ed32bc6902ab634451539770bcd910662212e01a Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 02:56:49 +0200 Subject: Extract admin strings to i18n: users and tags clusters --- app/views/users/edit.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/views/users/edit.html.erb') diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index ea5e7dec..4f1a22b8 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -9,20 +9,20 @@
<%= form_for @user do |f| %>
-
<%= t(".login") %>
+
<%= t("users.labels.login") %>
<%= f.text_field :login, :autocomplete => "username" %>
-
<%= t(".email") %>
+
<%= t("users.labels.email") %>
<%= f.text_field :email %>
-
<%= t(".password") %>
+
<%= t("users.labels.password") %>
<%= f.password_field :password, :autocomplete => "new-password" %>
-
<%= t(".confirm") %>
+
<%= t("users.labels.confirm") %>
<%= f.password_field :password_confirmation, :autocomplete => "new-password" %>
<% if current_user.admin? %> -
<%= t(".admin") %>
+
<%= t("users.labels.admin") %>
<%= f.check_box :admin %>
<% end %> -- cgit v1.3