From 19b865108c26cf18c26697fee080844de94fb522 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 14 Aug 2026 01:22:11 +0200 Subject: Scope admin form conventions with a class .admin_layout replaces the #admin_layout. All css rules and javascript queries were changed along and rules simplified where the opportunity arose. --- app/views/users/edit.html.erb | 2 +- app/views/users/new.html.erb | 2 +- app/views/users/show.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/users') diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 8a5900ce..2cf5a07c 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -1,4 +1,4 @@ -
+

<%= @user == current_user ? t(".my_account") : t(".edit_user", :login => @user.login) %>

<% if @user.errors.any? %> diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 13a238b5..a770b9a7 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -6,7 +6,7 @@
<% end %> -
+
<%= form_for @user do |f| %>
<%= t("users.labels.login") %>
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 9879e171..48c37ffb 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,4 +1,4 @@ -
+

<%= @user.login %>

-- cgit v1.3