Sha256: c608faabaf0d8fecd7758c9682e021643d903fa7e1f177f735880e35f9be1adc
Contents?: true
Size: 400 Bytes
Versions: 3
Compression:
Stored size: 400 Bytes
Contents
<%= form_for(@item) do |f| %> <% if @item.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@item.errors.count, "error") %> prohibited this item from being saved:</h2> <ul> <% @item.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pushify-1.2.2 | demos/rails3/app/views/items/_form.html.erb |
pushify-1.2.1 | demos/rails3/app/views/items/_form.html.erb |
pushify-1.2.0 | demos/rails3/app/views/items/_form.html.erb |