<%%= t('activerecord.attributes.<%= name %>.email') %> |
<%%= mail_to(@<%= name %>.email) %> |
<%%= t('activerecord.attributes.<%= name %>.name') %> |
<%%= @<%= name %>.name %> |
<%%= t('activerecord.attributes.<%= name %>.phone') %> |
<%%= @<%= name %>.phone %> |
<%%= t('activerecord.attributes.<%= name %>.comment') %> |
<%%= raw(@<%= name %>.comment) %> |
<%- if has_picture? -%>
<%%- if @<%= name %>.picture.present? -%>
<%%= t('activerecord.attributes.<%= name %>.picture') %> |
<%%= image_tag(@<%= name %>.picture_url(:avatar)) %> |
<%%- end -%>
<%- end -%>
<%%= t('activerecord.attributes.<%= name %>.theme') %> |
<%%= @<%= name %>.theme %> |
<%%= t('activerecord.attributes.<%= name %>.active') %> |
<%%= @<%= name %>.active ? t('simple_form.yes') : t('simple_form.no') %> |
<%%= t('activerecord.attributes.<%= name %>.status') %> |
<%%= t('enums.<%= name %>.status.' + @<%= name %>.status) %> |
<%- if activity_logging? -%>
<%%- if @<%= name %>.last_login_at.present? -%>
<%%= t('activerecord.attributes.<%= name %>.last_login_at') %> |
<%%= l(@<%= name %>.last_login_at) %> |
<%%= t('activerecord.attributes.<%= name %>.last_login_from_ip_address') %> |
<%%= @<%= name %>.last_login_from_ip_address %> |
<%%- end -%>
<%- end -%>
<%- if brute_force_protection? -%>
<%%= t('activerecord.attributes.<%= name %>.failed_logins_count') %> |
<%%= @<%= name %>.failed_logins_count %> |
<%- end -%>
<%- if activity_logging? -%>
<%%- if @<%= name %>.last_logout_at.present? -%>
<%%= t('activerecord.attributes.<%= name %>.last_logout_at') %> |
<%%= l(@<%= name %>.last_logout_at) %> |
<%%- end -%>
<%%- if @<%= name %>.last_activity_at.present? -%>
<%%= t('activerecord.attributes.<%= name %>.last_activity_at') %> |
<%%= l(@<%= name %>.last_activity_at) %> |
<%%- end -%>
<%- end -%>
<%- if brute_force_protection? -%>
<%%- if @<%= name %>.lock_expires_at.present? -%>
<%%= t('activerecord.attributes.<%= name %>.lock_expires_at') %> |
<%%= l(@<%= name %>.lock_expires_at) %> |
<%%- end -%>
<%- end -%>