% button_id = "button_close_#{@interface.id}" form_id = "new_template" @title_section = t('universal_connector_servers.interfaces.templates.template.dialog_title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = t('common.new_caption') @help_link_anchor = '' %> <% form_for @interface, :url => interface_templates_path(@interface.id), :html => { :id => form_id, :class => "edit_template", :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 => "template-general", :section_title => t('common.general_title'), :details_only => true}) do %>
<%= t_label('common.interface') %>
<%= h @interface.name %>