<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@user.id}" form_id = @user.new_record? ? "new_user" : "edit_user_#{@user.id}" @admin_view_only = @user.admin_user ? true : false @title_section = t('users.user.dialog_title') @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['admin']['users']['user_settings'] %> <% form_for(@user, :html => { :id => form_id, :class => "edit_user", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <%= render( :partial => 'edit_general', :layout => 'shared/edit_section', :locals => { :section_id => "user-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => 'edit_details', :layout => 'shared/edit_section', :locals => { :section_id => "user-details", :section_title => t('users.user.user_details_title'), :details_only => true}) %>
<%= standard_buttons(button_id) %>
<% end %>