% 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.label :name %>
<%= f.text_field :name, :tabindex => next_tabindex %>
<%= f.label :title, "Title", :class => "inline" %>
<%= f.text_field :title, :tabindex => next_tabindex %>
(Leave blank if same as name)
<%= f.label :path %>
<%= f.text_field :path, :tabindex => next_tabindex %>
<%= f.cms_drop_down :template_file_name, PageTemplate.options, {}, :tabindex => next_tabindex %>
<%= f.check_box :cacheable, :tabindex => next_tabindex %>
<%= f.check_box :hidden, :disabled => (!current_user.able_to?(:publish_content)), :tabindex => next_tabindex %>
<%= f.check_box :archived, :disabled => (!current_user.able_to?(:publish_content)), :tabindex => next_tabindex %>
<%= f.label :description %>
<%= f.text_area :description, :size => "80x5", :tabindex => next_tabindex %>
<%= f.label :keywords %>
<%= f.text_area :keywords, :size => "80x3", :tabindex => next_tabindex %>
<%= f.label :language %>
<%= f.text_field :language, :tabindex => next_tabindex %>