Sha256: 2a7f1f5faa9068db0fcb328a5e97ac7ce957ccb9d2b9946db7344d139fbb48f9

Contents?: true

Size: 727 Bytes

Versions: 160

Compression:

Stored size: 727 Bytes

Contents

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

      <ul>
      <% @selection.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :label %><br>
    <%= f.text_field :label %>
  </div>
  <div class="field">
    <%= f.label :reference %><br>
    <%= f.text_field :reference %>
  </div>
  <div class="field">
    <%= f.label :apidae_id %><br>
    <%= f.number_field :apidae_id %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
apidae-1.3.6 app/views/apidae/selections/_form.html.erb
apidae-1.2.23 app/views/apidae/selections/_form.html.erb
apidae-1.2.22 app/views/apidae/selections/_form.html.erb
apidae-0.9.32 app/views/apidae/selections/_form.html.erb
apidae-1.2.21 app/views/apidae/selections/_form.html.erb
apidae-1.2.20 app/views/apidae/selections/_form.html.erb
apidae-1.2.19 app/views/apidae/selections/_form.html.erb
apidae-1.2.18 app/views/apidae/selections/_form.html.erb
apidae-1.3.5 app/views/apidae/selections/_form.html.erb
apidae-1.2.17 app/views/apidae/selections/_form.html.erb
apidae-0.9.31 app/views/apidae/selections/_form.html.erb
apidae-1.2.16 app/views/apidae/selections/_form.html.erb
apidae-1.2.15 app/views/apidae/selections/_form.html.erb
apidae-1.3.4 app/views/apidae/selections/_form.html.erb
apidae-1.3.3 app/views/apidae/selections/_form.html.erb
apidae-0.9.30 app/views/apidae/selections/_form.html.erb
apidae-1.2.14 app/views/apidae/selections/_form.html.erb
apidae-1.2.13 app/views/apidae/selections/_form.html.erb
apidae-1.2.12 app/views/apidae/selections/_form.html.erb
apidae-1.2.11 app/views/apidae/selections/_form.html.erb