Sha256: 22d0d18bf64e36a8318bdd2c469612c04636fadbeaba87c9ee3f7bb52360df1d

Contents?: true

Size: 421 Bytes

Versions: 8

Compression:

Stored size: 421 Bytes

Contents

<% if @page.errors.any? %>
  <div class='form-errors'>
    <h3>Whoops!</h3>

    <p>Please correct the following errors:</p>

    <ul>
      <% @page.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
    </ul>
  </div><!-- form-errors -->
<% end %>

<%= form_for [:manifest, @page], builder: Manifest::LabelledFormBuilder do |f| %>
  <%= f.text_field :title %>
  <%= f.submit %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
manifest-rails-0.2.3 app/views/manifest/pages/_form.html.erb
manifest-rails-0.2.2 app/views/manifest/pages/_form.html.erb
manifest-rails-0.2.1 app/views/manifest/pages/_form.html.erb
manifest-rails-0.2.0 app/views/manifest/pages/_form.html.erb
manifest-rails-0.1.3 app/views/manifest/pages/_form.html.erb
manifest-rails-0.1.2 app/views/manifest/pages/_form.html.erb
manifest-rails-0.1.1 app/views/manifest/pages/_form.html.erb
manifest-rails-0.1.0 app/views/manifest/pages/_form.html.erb