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