<%- attributes.reject(&:password_digest?).each do |attribute| -%>
<%- if attribute.type == :integer or attribute.type == :decimal -%>
<%%= number_with_delimiter <%= singular_table_name %>.<%= attribute.name %> %> |
<%- else -%>
<%%= <%= singular_table_name %>.<%= attribute.name %> %> |
<%- end -%>
<%- end -%>
<%%= link_to 'Mostrar', <%= singular_table_name %> %> |
<%%= link_to 'Editar', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %> |
<%%= link_to 'Eliminar', <%= singular_table_name %>, method: :delete, data: { confirm: '¿Estás seguro?' } %> |
<%% end %>