%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@command_set.id}" form_id = "new_ibmi_command_set" @title_section = t('ibmi_command_sets.ibmi_command_set.dialog_title') @title_item = @command_set.name @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['ibmi_command_sets']['ibmi_command_set_settings'] %> <% form_for(@command_set, :url => ibmi_command_sets_path, :html => { :id => form_id, :class => "edit-command-set", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <%= form.hidden_field :command_set_type %> <%= render( :partial => 'edit_general', :layout => 'shared/edit_section', :locals => { :section_id => "command-set-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => 'edit_commands', :layout => 'shared/edit_section', :locals => { :section_id => "command-set-commands", :section_title => t('ibmi_command_sets.ibmi_command_set.commands_tab'), :copy => @copy, :details_only => true}) %>
<% end %>