<% form_for @automate_bpa_command,
:html => {
:id => form_id,
:autocomplete => "off",
:onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %>
<%= form.label :automate_system_definition_id, t_label('automate_bpa_commands.automate_bpa_server'), :class => "name-label item-label" %>
<%= form.label :automate_command_type, t_label('automate_bpa_commands.automate_command_type'), :class => "name-label item-label" %>
<%= form.label :wait_for_completion, t_label('automate_bpa_commands.wait_for_completion'), :class => "name-label item-label" %>
<%= form.check_box :wait_for_completion, :disabled => @view_only, :checked => true %>
<%= t('automate_bpa_commands.task_process_section') %>
<%= form.label :automate_target_type, t_label('automate_bpa_commands.automate_target_type'), :class => "name-label item-label" %>
<% end %>