Files
nairobi/app/views/management/users/show.html.erb
Javi Martín 629e208e9d Add and apply ArgumentAlignment rubocop rule
We're choosing the default `with_first_argument` style because it's the
one we use the most.
2023-08-18 14:56:16 +02:00

12 lines
505 B
Plaintext

<% if @user.email.blank? %>
<p><%= sanitize(t("management.users.autogenerated_password", password: @user.password)) %></p>
<% else %>
<p><%= sanitize(t("management.users.create_user_success", email: @user.email)) %></p>
<% end %>
<%= render "management/user_permissions",
message: t("management.document_verifications.in_census_has_following_permissions"),
user: @user %>
<a href="javascript:window.print();" class="button warning radius"><%= t("management.print_info") %></a>