%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2013 %> <% button_id = "button_close_#{@automate_system_definition.id}" form_id = @automate_system_definition.new_record? ? "new_automate_system_definition" : "edit_automate_system_definition_#{@automate_system_definition.id}" dialog_id = "edit_#{@automate_system_definition.id}" url = @automate_system_definition.new_record? ? automate_system_definitions_path : automate_system_definition_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 @automate_system_definition.name @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['automate_system_definitions']['settings'] %> <% form_for @automate_system_definition, :html => { :id => form_id, :class => "edit_automate_system_definition", :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 => "automate-general", :section_title => t('common.general_title')}) do %>
<%= t_label('common.name') %>
<%= h @automate_system_definition.name %>
<%= t_label('common.description') %>
<%= h @automate_system_definition.description %>
<%= t_label('common.tags') %>
<%= h @automate_system_definition.tag_list %>
<%= t_label('automate_system_definitions.edit_server_information.system_type') %>
<%= system_type_label(@automate_system_definition.system_type) unless @automate_system_definition.nil? %>
<%= t_label('automate_system_definitions.index.endpoint_url') %>
<%= h @automate_system_definition.endpoint_url unless @automate_system_definition.nil? %>
<%= t_label('automate_system_definitions.edit_server_information.username') %>
<%= h (@automate_system_definition.system_type == 1 || @automate_system_definition.system_type == 3)? 'Remote Administration' : @automate_system_definition.username %>
<%= t_label('automate_system_definitions.edit_polling_configuration.status_polling_interval') %>
<%= h @automate_system_definition.status_polling_interval unless @automate_system_definition.nil? %>