From 409d71ed471703be8c56f2639a3ecb0fa387e6a7 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 4 Aug 2026 07:07:05 +0200 Subject: Give node lists a flag column and a shared action bar --- app/views/users/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 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 ad2e0891..1763394d 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -20,7 +20,7 @@
<%= t("users.labels.confirm") %>
<%= f.password_field :password_confirmation, :autocomplete => "new-password" %>
- <% if current_user.admin? %> + <% if current_user.is_admin? %>
<%= t("users.labels.roles") %>
<% User::ROLES.each do |role| %> @@ -62,7 +62,7 @@ <% end %> <% end %>
- <% elsif current_user.admin? && @user.otp_enrolled? %> + <% elsif current_user.is_admin? && @user.otp_enrolled? %>
<%= t(".second_factor") %>
<%= t(".enabled") %> -- cgit v1.3