<%= form_for @application do |f| %> <% if @application.errors.any? %>

<%= pluralize(@application.errors.count, "error") %> prohibited this application from being saved:

<% end %>
<%= f.label :title, "Title*" %> <%= f.text_field :title %>
<%= f.label :short_name %> <%= f.text_field :short_name %>
<%= f.label :command, "Command*" %> <%= f.text_area :command, rows: 4, cols: 60 %>
<%= f.label :application_type_id, "Application type*" %> <%= f.select(:application_type_id, ::Naf::ApplicationType.all.map { |a| [a.script_type_name, a.id] }, { include_blank: true }) %>
<%= f.label :log_level %> <%= f.text_field :log_level %>

<%= f.label :deleted %> <%= f.check_box :deleted %>



<%= f.submit %>
<% end %>