Sha256: ac5ae3f6f25b8926892cc74216f25666a055f97fcd345920417a85d0b3583e51
Contents?: true
Size: 657 Bytes
Versions: 1
Compression:
Stored size: 657 Bytes
Contents
<h1>New Page</h1> <% form_for @page do |form| %> <%= form.error_messages %> <%= form.label :title, "Title"%> <%= form.text_field :title %> <%= form.label :slug, "Slug" %> <%= form.text_field :slug %> <%= form.label :keywords, "Keywords" %> <%= form.text_field :keywords %> <%= form.label :description, "Description" %> <%= form.text_area :description %> <%= form.label :published, "Published?" %> <%= form.check_box :published %> <% form.fields_for :parts do |builder| %> <%= render 'page_part_fields', :f => builder %> <% end %> <%= submit_tag 'Create Page' %> <% end %> <%= link_to "Back to pages", slightcms_pages_path %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slightcms-0.0.11 | lib/app/views/slightcms/admin/pages/new.html.erb |