Sha256: cc06894c3881eafcb96f3200542eeeae033ee20366379b131f6e5218f6a84f49
Contents?: true
Size: 598 Bytes
Versions: 2
Compression:
Stored size: 598 Bytes
Contents
<%= form_for(repeater) do |f| %> <% if repeater.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(repeater.errors.count, "error") %> prohibited this repeater from being saved:</h2> <ul> <% repeater.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :name %> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :slug %> <%= f.text_field :slug %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
binda-0.0.3 | app/views/binda/repeaters/_form.html.erb |
binda-0.0.2 | app/views/binda/repeaters/_form.html.erb |