<% if @page.errors.any? %>

Whoops!

Please correct the following errors:

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