Sha256: a5c002b54f88c25b4c49c93596db7deccf097d2dfdc7827683a219d1d81bf7ec

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

<% content_for :right_column do %>
  <%= render :partial => 'cms_admin/uploads/index' %>
<% end %>

<%= form.text_field :label, :id => (@cms_page.new_record?? 'slugify' : nil) %>

<div class='page_form_extras'>
  <% unless @cms_site.cms_pages.count == 0 || @cms_site.cms_pages.root == @cms_page%>
    <%= form.text_field :slug, :id => 'slug' %>
  <% end %>
  <% if (options = CmsLayout.options_for_select(@cms_site)).present? %>
    <%= form.select :cms_layout_id, options, {}, 'data-page-id' => @cms_page.id.to_i, 'data-path-prefix' => ComfortableMexicanSofa.config.admin_route_prefix, :label => 'Layout' %>
  <% end %>
  <% if (options = CmsPage.options_for_select(@cms_site, @cms_page)).present? %>
    <%= form.select :parent_id, options %>
  <% end %>
  <% if (options = CmsPage.options_for_select(@cms_site, @cms_page, nil, 0, false)).present? %>
    <%= form.select :target_page_id, options, :include_blank => true, :label => 'Redirect To Page' %>
  <% end %>
  <%= cms_hook :page_form, :object => form %>
</div>

<%= render :partial => 'form_blocks' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.0.29 app/views/cms_admin/pages/_form.html.erb