Refactors account_info partial
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
<p class="account-info">
|
||||
<%= t("management.document_type_label") %> <strong><%= humanize_document_type(verification.document_type) %></strong>
|
||||
<%= t("management.document_number") %> <strong><%= verification.document_number %></strong>
|
||||
<% if verification.user? %>
|
||||
<%= t("management.username_label") %> <strong><%= verification.user.username %></strong>
|
||||
<%= t("management.email_label") %> <strong><%= verification.user.email %></strong>
|
||||
<%= t("management.document_type_label") %> <strong><%= humanize_document_type(account.document_type) %></strong>
|
||||
<%= t("management.document_number") %> <strong><%= account.document_number %></strong>
|
||||
<% if account.username.present? %>
|
||||
<%= t("management.username_label") %> <strong><%= account.username %></strong>
|
||||
<% end %>
|
||||
<% if account.email.present? %>
|
||||
<%= t("management.email_label") %> <strong><%= account.email %></strong>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user