% button_id = "button_close_#{@tmp.uuid}" form_id = "edit_interface_#{@tmp.uuid}" url = interface_templates_path(@tmp.interface_id) @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 = h @tmpl['name'] @help_link_anchor = '' %> <% form_for @tmpl, :url => interface_template_path(@tmp.interface_id, @tmp.uuid), :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 %>
<%= t_label('common.uuid') %>
<%= h @tmp.uuid %>