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/new.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/views/users/new.html.erb') diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 8ae993c5..776e6e96 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -1,4 +1,4 @@ -

Create new user

+

<%= t(".title") %>

<% if @user.errors.any? %>
@@ -9,23 +9,23 @@
<%= form_for @user do |f| %>
-
Login
+
<%= t("users.labels.login") %>
<%= f.text_field :login %>
-
E-Mail
+
<%= t("users.labels.email") %>
<%= f.text_field :email %>
-
Password
+
<%= t("users.labels.password") %>
<%= f.password_field :password %>
-
Confirm
+
<%= t("users.labels.confirm") %>
<%= f.password_field :password_confirmation %>
-
Admin?
+
<%= t("users.labels.admin") %>
<%= f.check_box :admin %>
-
<%= f.submit "Create" %>
+
<%= f.submit t("admin.common.create") %>
<% end %>
-- cgit v1.3