<% form_for @sap_event,
:html => {
:id => form_id,
:class => "edit_sap_event_command",
:autocomplete => "off",
:onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %>
<%= form.label :sap_event_identifier, t_label('sap_events.sap_event.sap_event_id'), :class => "name-label item-label" %>
<%= form.text_field :sap_event_identifier, :disabled => @view_only, :maxLength => 32, :class => "x-form-field name-field" %>
<%= form.label :sap_event_parameters, t_label('sap_events.sap_event.sap_event_parameters'), :class => "name-label item-label" %>
<% end %>
<%= form.text_field :sap_event_parameters, :disabled => @view_only, :maxLength => 64, :class => "x-form-field name-field" %>