<%= simple_form_for setting, defaults: { label: false } do |f| %> <% if setting.errors.any? %>

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

    <% setting.errors.full_messages.each do |message| %>
  • <%= message %>
  • <% end %>
<% end %>

Page Details

Title
<%= f.input :name %>
Slug
<%= f.input :slug %>
Content
<%= f.input :content %>

Settings


<%= f.button :submit, 'Save changes', class: 'btn btn-primary' %>
<% end %>