<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@ibmi_agent_environment.id}" form_id = @ibmi_agent_environment.new_record? ? "new_ibmi_agent_environment" : "edit_ibmi_agent_environment_#{@ibmi_agent_environment.id}" dialog_id = "edit_#{@ibmi_agent_environment.id}" url = @ibmi_agent_environment.new_record? ? ibmi_agent_environments_path : ibmi_agent_environment_path view_only = (@view_only) @title_section = t('.dialog_title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @ibmi_agent_environment.name @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['ibmi_agent_environments']['ibmi_agent_environment_settings'] %> <% form_for @ibmi_agent_environment, :html => { :id => form_id, :class => "edit_ibmi_agent_environment", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %> <% render(:layout => 'shared/edit_section', :locals => { :section_id => "ibmi-agent-environment-general", :section_title => t('common.general_title')}) do %>

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

<%= h @ibmi_agent_environment.name %>

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

<%= h @ibmi_agent_environment.description %>

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

<%= h @ibmi_agent_environment.tag_list %>

<% end %> <% render(:layout => 'shared/edit_section', :locals => { :section_id => "ibmi-agent-environment-details", :section_title => t('common.details')}) do %>

<%= t_label('ibmi_agent_environments.edit_details.job_description') %>

<%= h @ibmi_agent_environment.job_description %>

<%= t_label('ibmi_agent_environments.edit_details.job_queue') %>

<%= h @ibmi_agent_environment.job_queue %>

<%= t_label('ibmi_agent_environments.edit_details.job_queue_priority') %>

<% if @ibmi_agent_environment.job_queue_priority == 0 %>

<%= t('ibmi_agent_environments.defaults.jobd') %>

<% else %>

<%= h @ibmi_agent_environment.job_queue_priority %>

<% end %>

<%= t_label('ibmi_agent_environments.edit_details.output_queue') %>

<%= h @ibmi_agent_environment.output_queue %>

<%= t_label('ibmi_agent_environments.edit_details.message_queue') %>

<%= h @ibmi_agent_environment.message_queue %>

<%= t_label('ibmi_agent_environments.edit_details.user_profile') %>

<%= h @ibmi_agent_environment.user_profile %>

<%= t_label('ibmi_agent_environments.edit_details.message_reply') %>

<%= h @ibmi_agent_environment.message_reply %>

<%= t_label('ibmi_agent_environments.edit_details.accounting_code') %>

<%= h @ibmi_agent_environment.accounting_code %>

<%= t_label('ibmi_agent_environments.edit_details.current_library') %>

<%= h @ibmi_agent_environment.current_library %>

<%= t_label('ibmi_agent_environments.edit_details.initial_asp_group') %>

<%= h @ibmi_agent_environment.initial_asp_group %>

<%= t_label('ibmi_agent_environments.edit_details.library_list') %>

<%= h @ibmi_agent_environment.library_list %>

<% end %>
<%= standard_buttons(button_id) %>
<% end %>