Sha256: a6110e9da8c062d23f33c018694b552f9d07dfce03a84c2f575b19d4f4ec0dc7
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
h1 Create a new page = simple_form_for @page do |f| / = f.input :identifier, hint: "Pick a name for this page so it can be accessed from the code" = f.input :title = f.input :template_id, as: :select, collection: Cardboard::Template.where(is_page: false), :include_blank => false = f.submit "Create", class: "btn"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cardboard_cms-0.3.1 | app/views/cardboard/pages/new.html.slim |
cardboard_cms-0.2.2 | app/views/cardboard/pages/new.html.slim |
cardboard_cms-0.2.1 | app/views/cardboard/pages/new.html.slim |