<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@role.id}" form_id = "new_role" @title = t('roles.role.dialog_title') @title_section = t('roles.role.dialog_title') @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['admin']['roles']['role_settings'] %> <% form_for @role, :html => { :id => form_id, :class => "edit_role", :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 => "role-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => "edit_users", :layout => 'shared/edit_section', :locals => { :section_id => "role-users", :section_title => t('roles.role.users_tab'), :details_only => true}) %> <%= render( :partial => "edit_object_security", :layout => 'shared/edit_section', :locals => { :section_id => "role-object-security", :section_title => t('roles.role.object_level_security_tab'), :details_only => true}) %> <%= render( :partial => "edit_action_security", :layout => 'shared/edit_section', :locals => { :section_id => "role-action-security", :section_title => t('roles.role.action_level_security_tab'), :details_only => true}) %> <%= render( :partial => "edit_record_security", :layout => 'shared/edit_section', :locals => { :section_id => "role-record-security", :section_title => t('roles.role.record_level_security_tab'), :details_only => true}) %>
<%= standard_buttons(button_id) %>
<% end %>