<% 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>
