Sha256: feffd82aef1cce170f71e691926e9ccc4791830e4fe078f9ad198b73676d7f2a

Contents?: true

Size: 667 Bytes

Versions: 9

Compression:

Stored size: 667 Bytes

Contents

<div class="formContainer form">
  <% simple_form_for @page do |f| %>
    <%= f.input :name %>
    <%= f.input :slug, :required => false %>
    <%= f.input :content, :input_html => {:rows => 30, :spellcheck => false} %>
    <%= f.input :layout_page_id, :collection => layouts_for_page(@page).collect{|pg| [pg.to_s, pg.id]}, :include_blank => '-- layout file --', :required => false unless layouts_for_page(@page).empty? %>
    <%= f.input :published, :required => false %>
    <%= f.input :root, :required => false %>

    <%= f.commit_button_or_cancel %>
  <% end %>
</div>

<%= codemirror_edit @page.content_type, 'form.simple_form.cms_page', 'cms_page_content' %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
liquid_cms-0.2.0.9 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0.8 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0.7 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0.6 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0.5 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0.4 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0.3 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0.2 app/views/cms/pages/_form.html.erb
liquid_cms-0.2.0 app/views/cms/pages/_form.html.erb