<%%= 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 options.picture? -%>
<%%- if @<%= name %>.picture? -%>
<%%= t('activerecord.attributes.<%= name %>.picture') %> |
<%%= image_tag(<%= name %>.picture_url(:avatar).to_s) %> |
<%%- end -%>
<%- end -%>
<%- if options.gravatar? -%>
<%%= t('activerecord.attributes.<%= name %>.gravatar') %> |
<%%= image_tag(gravatar_url(@<%= name %>, 200)) %> |
<%- 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 %>.sysadm') %> |
<%%= @<%= name %>.sysadm ? t('simple_form.yes') : t('simple_form.no') %> |
<%- if options.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 options.brute_force_protection? -%>
<%%= t('activerecord.attributes.<%= name %>.failed_logins_count') %> |
<%%= @<%= name %>.failed_logins_count %> |
<%- end -%>
<%- if options.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 options.brute_force_protection? -%>
<%%- if @<%= name %>.lock_expires_at.present? -%>
<%%= t('activerecord.attributes.<%= name %>.lock_expires_at') %> |
<%%= l(@<%= name %>.lock_expires_at) %> |
<%%- end -%>
<%- end -%>