<%=error_messages_for(f.object)%>
Page Title

<%=f.label :name, :required=>true, :style => "display:none;" %> <%=f.text_field :name, :class => "full-width" %>

<%=f.fields_for :spud_page_partials do |b|%>
<%=b.hidden_field :name,:class => "tab_name"%> <%=b.text_area :content,:class => "wysiwym tinymce"%>
<%end%>

Advanced Settings (optional)
    <%if Spud::Cms.templates_enabled%>
  1. <%=f.label :template_id, "Template"%> <%=f.select :template_id, options_for_select(SpudTemplate.all.collect{|tp| [tp.name,tp.id]},@page.template_id), {:include_blank => 'Default'},{:title => "", 'data-source' => page_parts_spud_admin_pages_path(:page => @page.id) }%>
  2. <%end%>
  3. <%=f.label :spud_page_id, "Parent Page"%> <%=f.select :spud_page_id,options_for_select(SpudPage.options_tree_for_page(:filter => @page),@page.spud_page_id),{:include_blank => 'None'},{:title => ""}%>
  4. <%=f.label :url_name, "Perma Link",:disabled => true%> <%=root_url%><%=f.text_field :url_name,:title => "",:size=>20%><%=f.check_box :use_custom_url_name,:onchange => "$('#spud_page_url_name').attr('disabled',!this.checked);"%>
Meta Information (optional)

These fields are used to notify search engines about important keywords and the appropriate description to display in a search result.

  1. <%=f.label :meta_keywords,"Keywords"%> <%=f.text_field :meta_keywords,:title => "" %>
  2. <%=f.label :meta_description,"Description"%> <%=f.text_area :meta_description,:rows => 4,:cols=>75%>
  3. <%=f.label :visibility%> <%=f.select :visibility, [["Public",0],["Private",1]]%>
  4. <%=f.label :published%> <%=f.check_box :published%>
  5. <%=f.label :notes,"Notes"%> <%=f.text_area :notes,:rows => 4,:cols=>75 %>