Sha256: 956f05af8dcef77a987f9bf3a29bb2fac530a1910317147bb452d14bd6ba3fd1

Contents?: true

Size: 1.09 KB

Versions: 13

Compression:

Stored size: 1.09 KB

Contents

<%= form_for @application do |f| %>
  <% if @application.errors.any? %>
    <div id="errorExplanation">
      <h2><%= pluralize(@application.errors.count, "error") %> prohibited this application from being saved:</h2>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :title, "Title*" %>
    <%= f.text_field :title %>
  </div>

  <div class="field">
    <%= f.label :short_name %>
    <%= f.text_field :short_name %>
  </div>

  <div class="field">
    <%= f.label :command, "Command*" %>
    <%= f.text_area :command, rows: 4, cols: 60 %>
  </div>

  <div class="field">
    <%= 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 }) %>
  </div>

  <div class="field">
    <%= f.label :log_level %>
    <%= f.text_field :log_level %>
  </div>
  <br/>

  <div class="field">
    <%= f.label :deleted %>
    <%= f.check_box :deleted %>
    <br/><br/>
  </div>
  <br/>

  <div class="actions">
    <br/>
    <%= f.submit %>
  </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
naf-2.1.13 app/views/naf/applications/_form.html.erb
naf-2.1.12 app/views/naf/applications/_form.html.erb
naf-2.1.11 app/views/naf/applications/_form.html.erb
naf-2.1.10 app/views/naf/applications/_form.html.erb
naf-2.1.9 app/views/naf/applications/_form.html.erb
naf-2.1.8 app/views/naf/applications/_form.html.erb
naf-2.1.6 app/views/naf/applications/_form.html.erb
naf-2.1.5 app/views/naf/applications/_form.html.erb
naf-2.1.4 app/views/naf/applications/_form.html.erb
naf-2.1.3 app/views/naf/applications/_form.html.erb
naf-2.1.2 app/views/naf/applications/_form.html.erb
naf-2.1.1 app/views/naf/applications/_form.html.erb
naf-2.1.0 app/views/naf/applications/_form.html.erb