Sha256: 40e59df749e3200e3f7382d6106c9609d43372fdc9959bde3cabf4770aa1df60

Contents?: true

Size: 642 Bytes

Versions: 17

Compression:

Stored size: 642 Bytes

Contents

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

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rails_sortable-1.6.0 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.5.0 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.4.1 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.4.0 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.3.2 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.3.1 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.3.0 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.2.1 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.2.0 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.1.4 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.1.3 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.1.2 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.1.1 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.1.0 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-1.0.0 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-0.1.1 spec/dummy/app/views/sequenced_items/_form.html.erb
rails_sortable-0.1.0 spec/dummy/app/views/sequenced_items/_form.html.erb