Sha256: 0d3399376adcd63774418914f962a7d4915179ae67c5e14512023243e8b4caee

Contents?: true

Size: 1.52 KB

Versions: 30

Compression:

Stored size: 1.52 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.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, 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>

<div class="fields textarea_fields">
  <%= f.label :description %>
  <%= f.text_area :description, :size => "80x5", :tabindex => next_tabindex %>
</div>

<div class="fields textarea_fields">
  <%= f.label :keywords %>
  <%= f.text_area :keywords, :size => "80x3", :tabindex => next_tabindex %>
</div>

<%= f.cms_text_field :language %>

Version data entries

30 entries across 30 versions & 9 rubygems

Version Path
we5-browsercms-3.0.5 app/views/cms/pages/_form.html.erb
browsercms_s3-3.0.5 app/views/cms/pages/_form.html.erb
browsercms-3.0.4 app/views/cms/pages/_form.html.erb
browsercms-3.0.3 app/views/cms/pages/_form.html.erb
browsercms_s3-3.0.4 app/views/cms/pages/_form.html.erb
browsercms_s3-3.0.3 app/views/cms/pages/_form.html.erb
we5-browsercms-3.0.2 app/views/cms/pages/_form.html.erb
browsercms-3.0.2 app/views/cms/pages/_form.html.erb
browsercms-3.0.1 app/views/cms/pages/_form.html.erb
browsercms-3.0.0 app/views/cms/pages/_form.html.erb