Sha256: 4dc1f983fc7515d23af829de1c47930a5157c2c2cddf0caf121ca4344ed9a63c
Contents?: true
Size: 595 Bytes
Versions: 21
Compression:
Stored size: 595 Bytes
Contents
<%= form_for(@post) do |f| %> <% if @post.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2> <ul> <% @post.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 :description %><br> <%= f.text_area :description %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
21 entries across 7 versions & 1 rubygems