<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2015 %> <% button_id = "button_close_#{@job_queue_schedule_entry.id}" form_id = @job_queue_schedule_entry.new_record? ? "new_job_queue_job_queue_schedule_entry" : "edit_job_queue_job_queue_schedule_entry_#{@job_queue_schedule_entry.id}" @title_section = t('job_queue_schedule_entries.dialog_title', :name => @title) @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['job_queue_schedule_entries']['settings'] %> <% form_for(@job_queue_schedule_entry, :url => job_queue_job_queue_schedule_entries_path, :html => {:id => form_id, :class => "edit_job_queue_schedule_entry", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <% if @copy %> <%= form.hidden_field :enabled %> <% end %> <%= render(:partial => 'edit_general', :layout => 'shared/edit_section', :locals => {:section_id => "job-queue-schedule-entry-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render(:partial => 'edit_schedule', :layout => 'shared/edit_section', :locals => {:section_id => "job-queue-schedule-entry-schedule", :section_title => t('common.schedule_title'), :details_only => true}) %> <%= render(:partial => 'edit_settings', :layout => 'shared/edit_section', :locals => {:section_id => "job-queue-schedule-entry-settings", :section_title => t('common.settings_title'), :details_only => true}) %>
<%= standard_buttons(button_id) %>
<% end %>