%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2016 %> <% button_id = "button_close_#{@interface.id}" form_id = "new_interface" @title_section = t('universal_connector_servers.interfaces.interface.dialog_title') @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['uc']['interface_settings'] %> <% form_for @interface, :url => interfaces_path, :html => { :id => form_id, :class => 'edit_interface', :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 => 'interface-general', :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => 'edit_shared_variables', :layout => 'shared/edit_section', :locals => { :section_id => 'interface-shared-variables', :section_title => t('common.shared_variable'), :details_only => true}) %> <%= render( :partial => 'edit_templates', :layout => 'shared/edit_section', :locals => { :section_id => 'interface-templates', :section_title => t('common.templates'), :details_only => true}) %>