Sha256: 40d0b1ed81cd80ad46f002ea19d1d5f27550e8c8485c6e46b2e9babb8a868141
Contents?: true
Size: 621 Bytes
Versions: 1
Compression:
Stored size: 621 Bytes
Contents
<%= form_for(@private_post) do |f| %> <% if @private_post.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@private_post.errors.count, "error") %> prohibited this private_post from being saved:</h2> <ul> <% @private_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 :body %><br> <%= f.text_area :body %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_token_authentication-1.2.0 | spec/dummy/app/views/private_posts/_form.html.erb |