%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% if @user.is_ldap_user? @ldap_shipped_admin_view = @user.is_shipped_admin? ? true : false else @ldap_shipped_admin_view = true end if !@view_only disabled_email = (@user.is_ldap_authorization? && (@user.update_email_ldap && !@user.is_shipped_admin?)) ? true : false else disabled_email = true end %> <% fields_for @user do |form| %> <% if !@user.is_ldap_authorization? %>
<%= t_label('.username_label') %>
<%= h @user.username%>
<%= t_label('users.edit_details.role_label') %>
<%= h @user.role.name unless @user.role.nil? %>
<%= t_label('.last_login_label') %>
<%= format_timestamp @user.current_login_at %>
<%= t_label('.password_changed_label') %>
<%= format_timestamp @user.password_last_changed_at %>