<% form_for @web_service_command,
:html => {
:id => form_id,
:autocomplete => "off",
:onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %>
<% end %>
<%= form.label :web_server_id, t_label('web_service_commands.web_server'), :class => "name-label item-label" %>
<%= form.label :description, t_label('common.description'), :class => "name-label item-label" %>
<%= text_field :ws_command, :description, {:maxLength => 256, :class => "x-form-field name-field"} %>
<%= form.label :variable, t_label('web_service_commands.web_service_variables'), :class => "x-form-item label" %>
<%= variables_form_helper(form, "web_service_command[variable_list]", h(@web_service_command.variables_list), {:id => @web_service_command.id, :view_only => false}) %>
<%= form.label :base_url, t_label('web_server_definitions.edit_definition_details.base_url'), :class => "name-label item-label" %>
<%= form.label :app_url, t_label('web_service_commands.app_url'), :class => "name-label item-label" %>
<%= form.text_field :app_url, :maxLength => 256, :class => "x-form-field name-field" %>
<%= form.label :request_method, t_label('web_service_commands.request_method'), :class => "name-label item-label" %>