Extracts common elements out of management views

This commit is contained in:
kikito
2015-10-05 11:49:15 +02:00
parent 9ddc9c57b7
commit 6f799ae32e
7 changed files with 58 additions and 85 deletions

View File

@@ -0,0 +1,8 @@
<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>
<% end %>
</p>