41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
<% if managed_user.document_number.present? %>
|
|
<section class="account-info">
|
|
<%= button_to(t("management.account_info.change_user"),
|
|
logout_management_users_path,
|
|
method: :delete,
|
|
class: "float-right btchange-user button hollow") %>
|
|
|
|
<% if managed_user.level_two_or_three_verified? %>
|
|
<p>
|
|
<strong>
|
|
<%= t("management.account_info.identified_label") %>
|
|
</strong>
|
|
</p>
|
|
<% end %>
|
|
|
|
<% if managed_user.username.present? %>
|
|
<p>
|
|
<%= t("management.account_info.username_label") %>
|
|
<strong><%= managed_user.username %></strong>
|
|
</p>
|
|
<% end %>
|
|
|
|
<% if managed_user.email.present? %>
|
|
<p>
|
|
<%= t("management.account_info.email_label") %>
|
|
<strong><%= managed_user.email %></strong>
|
|
</p>
|
|
<% end %>
|
|
|
|
<p>
|
|
<%= t("management.account_info.document_type_label") %>
|
|
<strong><%= humanize_document_type(managed_user.document_type) %></strong>
|
|
</p>
|
|
|
|
<p>
|
|
<%= t("management.account_info.document_number_label") %>
|
|
<strong><%= managed_user.document_number %></strong>
|
|
</p>
|
|
</section>
|
|
<% end %>
|