<% form_for @informatica_cloud_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 :informatica_cloud_server_id, t_label('informatica_cloud_commands.informatica_cloud_server'), :class => "name-label item-label" %>
<%= form.label :task_type, t_label('informatica_cloud_commands.task_type'), :class => "name-label item-label" %>
<%= form.text_field :task_type, :disabled => @view_only, :maxLength => 20, :class => "x-form-field name-field" %>
<%= form.label :task_name, t_label('informatica_cloud_commands.task_name'), :class => "name-label item-label" %>
<%= form.text_field :task_name, :disabled => @view_only, :maxLength => 100, :class => "x-form-field name-field" %>
<%= form.label :continue_immediately, t_label('informatica_cloud_commands.continue_immediately'), :class => "name-label item-label" %>
<% end %>
<%= form.check_box :continue_immediately, :disabled => @view_only %>