diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 02:56:49 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 02:56:49 +0200 |
| commit | ed32bc6902ab634451539770bcd910662212e01a (patch) | |
| tree | 8fc514889c2f80052a3873753d9cb32bfa879bb7 /app/views/users/edit.html.erb | |
| parent | 0a5d7806700bb3154529b99abc75d37ccc46faff (diff) | |
Extract admin strings to i18n: users and tags clusters
Diffstat (limited to 'app/views/users/edit.html.erb')
| -rw-r--r-- | app/views/users/edit.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ | |||
| 9 | <div id="admin_layout"> | 9 | <div id="admin_layout"> |
| 10 | <%= form_for @user do |f| %> | 10 | <%= form_for @user do |f| %> |
| 11 | <div id="content"> | 11 | <div id="content"> |
| 12 | <div class="layout_row_label"><%= t(".login") %></div> | 12 | <div class="layout_row_label"><%= t("users.labels.login") %></div> |
| 13 | <div class="layout_row_content"><%= f.text_field :login, :autocomplete => "username" %></div> | 13 | <div class="layout_row_content"><%= f.text_field :login, :autocomplete => "username" %></div> |
| 14 | 14 | ||
| 15 | <div class="layout_row_label"><%= t(".email") %></div> | 15 | <div class="layout_row_label"><%= t("users.labels.email") %></div> |
| 16 | <div class="layout_row_content"><%= f.text_field :email %></div> | 16 | <div class="layout_row_content"><%= f.text_field :email %></div> |
| 17 | 17 | ||
| 18 | <div class="layout_row_label"><%= t(".password") %></div> | 18 | <div class="layout_row_label"><%= t("users.labels.password") %></div> |
| 19 | <div class="layout_row_content"><%= f.password_field :password, :autocomplete => "new-password" %></div> | 19 | <div class="layout_row_content"><%= f.password_field :password, :autocomplete => "new-password" %></div> |
| 20 | 20 | ||
| 21 | <div class="layout_row_label"><%= t(".confirm") %></div> | 21 | <div class="layout_row_label"><%= t("users.labels.confirm") %></div> |
| 22 | <div class="layout_row_content"><%= f.password_field :password_confirmation, :autocomplete => "new-password" %></div> | 22 | <div class="layout_row_content"><%= f.password_field :password_confirmation, :autocomplete => "new-password" %></div> |
| 23 | 23 | ||
| 24 | <% if current_user.admin? %> | 24 | <% if current_user.admin? %> |
| 25 | <div class="layout_row_label"><%= t(".admin") %></div> | 25 | <div class="layout_row_label"><%= t("users.labels.admin") %></div> |
| 26 | <div class="layout_row_content"><%= f.check_box :admin %></div> | 26 | <div class="layout_row_content"><%= f.check_box :admin %></div> |
| 27 | <% end %> | 27 | <% end %> |
| 28 | 28 | ||
