Sha256: a41005c2687594359965b796818ac3e83866822adc18da8abd5d7111805085e6

Contents?: true

Size: 1.54 KB

Versions: 17

Compression:

Stored size: 1.54 KB

Contents

<%= content_for :html_head do %>
  <%= stylesheet_link_tag('cms/form_layout') %>
  <%= javascript_tag do %>
  jQuery(function($) {
    $('#page_template').selectbox({width: '440px'});
  });
  <% end %>
<% end %>
<%= f.cms_error_messages %>
<%= f.cms_text_field :name %>
<%= f.cms_text_field :title, :instructions => "(Leave blank if same as name)" %>
<%= f.cms_text_field :path %>
<%= f.cms_drop_down :template_file_name, Cms::PageTemplate.options, {:label => "Template"}, :tabindex => next_tabindex %>

<div class="checkbox_group fields no_check_all">
  <div class="checkbox_fields">
    <%= f.label :cacheable, "Cache Enabled?" %>
    <%= f.check_box :cacheable, :tabindex => next_tabindex %>
  </div>
</div>

<div class="checkbox_group fields no_check_all">
  <div class="checkbox_fields">
    <%= f.label :hidden, "Hide From Menus?" %>
    <%= f.check_box :hidden, :disabled => (!current_user.able_to?(:publish_content)), :tabindex => next_tabindex %>
  </div>
</div>

<div class="checkbox_group fields no_check_all">
  <div class="checkbox_fields">
    <%= f.label :archived, "Archived?" %>
    <%= f.check_box :archived, :disabled => (!current_user.able_to?(:publish_content)), :tabindex => next_tabindex %>
  </div>
</div>

<%= f.cms_text_area :description, :size=>"80x5", :instructions=>"(Optional) Often used for the meta-description element of the page." %>
<%= f.cms_text_area :keywords, :size=>"80x3", :instructions=>"(Optional) Often used for the meta-keyword meta element of the page. Most search engine will ignore this however." %>
<%= f.cms_text_field :language %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/pages/_form.html.erb
browsercms-3.5.6 app/views/cms/pages/_form.html.erb
browsercms-3.5.5 app/views/cms/pages/_form.html.erb
browsercms-3.5.4 app/views/cms/pages/_form.html.erb
browsercms-3.5.3 app/views/cms/pages/_form.html.erb
browsercms-3.5.2 app/views/cms/pages/_form.html.erb
browsercms-3.5.1 app/views/cms/pages/_form.html.erb
browsercms-3.5.0 app/views/cms/pages/_form.html.erb
browsercms-3.5.0.rc3 app/views/cms/pages/_form.html.erb
browsercms-3.5.0.rc2 app/views/cms/pages/_form.html.erb
browsercms-3.5.0.rc1 app/views/cms/pages/_form.html.erb
browsercms-3.4.2 app/views/cms/pages/_form.html.erb
browsercms-3.4.2.rc1 app/views/cms/pages/_form.html.erb
browsercms-3.4.1 app/views/cms/pages/_form.html.erb
browsercms-3.4.0 app/views/cms/pages/_form.html.erb
browsercms-3.4.0.rc2 app/views/cms/pages/_form.html.erb
browsercms-3.4.0.rc1 app/views/cms/pages/_form.html.erb