<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% button_id = "button_close_#{@special_instance.id}" form_id = "edit_job_#{@special_instance.id}" @title_section = t('special_instances.special_instance.dialog_title', :context=>context_title) + " '" +context_name + "'" @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @special_instance.name @help_link_anchor = HELP_URL_CONFIG['jobs']['job_special_instances']['settings'] %> <% form_for(@special_instance, :html => { :id => form_id, :class => "edit_special_instance", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <% if @special_instance.parent.respond_to?(:timezone_type_text) %> <% render( :layout => 'shared/edit_section', :locals => { :section_id => "job-general", :section_title => t('jobs.job_monitor_events.job_settings'), :summary_only => true}) do %>

<%= t_label("jobs.job.timezone_option") %>

<%= h @special_instance.parent.timezone_type_text %>

<% end %> <% end %> <% render( :layout => 'shared/edit_section', :locals => { :section_id => "instance-general", :section_title => t('common.general_title')}) do %>

<%= t_label('common.name') %>

<%= h @special_instance.name %>

<%= t_label('common.description') %>

<%= h @special_instance.description %>

<%= t_label('common.tags') %>

<%= @special_instance.tag_list %>

<% end %> <%= render( :partial => "edit_instance", :layout => 'shared/edit_section', :locals => { :section_id => "settings-instance", :section_title => t('common.instance_title'), :details_only => true}) %>
<%= standard_buttons(button_id) %>
<% end %>