%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% button_id = "button_close_#{@sql_server_definition.id}" form_id = "edit_sql_server_definition_#{@sql_server_definition.id}" @title_section = t('common.sql_server_definition') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @sql_server_definition.name @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['sql_server_definitions']['settings'] %> <% form_for @sql_server_definition, :html => {:id => form_id,:class => "edit_sql_server_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 => "sql-server-definition-general", :section_title => t('common.general_title')}) do %>
<%= t_label('common.name') %>
<%= h @sql_server_definition.name %>
<%= t_label('common.description')%>
<%= h @sql_server_definition.description %>
<%= t_label('common.tags')%>
<%= h @sql_server_definition.tag_list %>
<%= t_label('sql_server_definitions.server_name')%>
<%= h @sql_server_definition.server_name %>
<%= t_label('sql_server_definitions.server_instance_name')%>
<%= h @sql_server_definition.server_instance_name %>
<%= t_label('common.username')%>
<%= h @sql_server_definition.user_id %>