<%= form_for(@page.new_record? ? [spotlight, @page.exhibit, @page] : [spotlight, @page] , role: 'form') do |f| %> <% if @page.errors.any? %>

<%= pluralize(@page.errors.count, "error") %> prohibited this page from being saved:

<% end %>
<%= f.label :title, class: 'sr-only' %> <%= f.text_field :title, class: 'form-control input-lg', placeholder: "Title" %>
<%= f.label :content, class: 'sr-only' %> <%= f.sir_trevor_text_area :content %>
<%= link_to(t('cancel'), :back, class: "btn btn-default") %> <%= f.submit class: 'btn btn-default' %>
<% end %>