Sha256: 9be077f564226fb10c86366904e3399dc3947c7ba718f3610493a45e1c7da822

Contents?: true

Size: 705 Bytes

Versions: 5

Compression:

Stored size: 705 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :position %>
    <%= f.number_field :position %>
  </div>

  <div class="field">
    <%= f.label :description %>
    <%= f.text_area :description %>
  </div>

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
binda-0.0.7 app/views/binda/bindings/_form.html.erb
binda-0.0.6 app/views/binda/bindings/_form.html.erb
binda-0.0.5 app/views/binda/bindings/_form.html.erb
binda-0.0.3 app/views/binda/bindings/_form.html.erb
binda-0.0.2 app/views/binda/bindings/_form.html.erb