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.4.13 app/views/apidae/selections/_form.html.erb
apidae-1.4.12 app/views/apidae/selections/_form.html.erb
apidae-1.4.11 app/views/apidae/selections/_form.html.erb
apidae-1.4.10 app/views/apidae/selections/_form.html.erb
apidae-1.4.9 app/views/apidae/selections/_form.html.erb
apidae-1.4.8 app/views/apidae/selections/_form.html.erb
apidae-1.4.7 app/views/apidae/selections/_form.html.erb
apidae-1.4.6 app/views/apidae/selections/_form.html.erb
apidae-1.4.5 app/views/apidae/selections/_form.html.erb
apidae-1.4.4 app/views/apidae/selections/_form.html.erb
apidae-1.4.3 app/views/apidae/selections/_form.html.erb
apidae-1.2.35 app/views/apidae/selections/_form.html.erb
apidae-1.2.34 app/views/apidae/selections/_form.html.erb
apidae-1.2.33 app/views/apidae/selections/_form.html.erb
apidae-1.4.2 app/views/apidae/selections/_form.html.erb
apidae-1.4.1 app/views/apidae/selections/_form.html.erb
apidae-1.4.0 app/views/apidae/selections/_form.html.erb
apidae-1.2.32 app/views/apidae/selections/_form.html.erb
apidae-1.2.31 app/views/apidae/selections/_form.html.erb
apidae-1.2.30 app/views/apidae/selections/_form.html.erb