%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2017 %> <% button_id = form_id = "shared_variables_#{params[:interface_id]}" @title_section = t('universal_connector_servers.interfaces.interface.shared_variables') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h @interface_name @help_link_anchor = '' %> <% form_for @shared_variables, :url => universal_connector_server_interface_shared_variable_path(params[:universal_connector_server_id], params[:interface_id], params[:interface_id]), :html => { :id => form_id, :class => "edit_shared_variables", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %> <%= render(:partial => "edit_general", :layout => 'shared/edit_section', :locals => { :section_id => "shared-variables-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render(:partial => "edit_shared_variables", :layout => 'shared/edit_section', :locals => { :section_id => "shared-variables", :section_title => t('universal_connector_servers.interfaces.interface.shared_variables'), :details_only => true}) %>