<%= form_for([:admin, @page], :remote => true) do |f| %> <%- unless @page.layoutpage -%> <%- end -%> <%- unless @page.layoutpage -%> <%- end -%> <%- unless @page.layoutpage -%> <%- end -%>
<%= _("page_type") %>: <%= @page.layout_display_name %>
<%= _("page_status") %>: <%= f.check_box :public -%> <%= f.label :public, _('page_public') %>
<%= f.check_box :visible -%> <%= f.label :visible, _('page_visible_in_navigation') %>
<%= f.check_box :restricted -%> <%= f.label :restricted, _('page_restricted') %> <%- if configuration(:sitemap)[:show_flag] -%>
<%= f.check_box :sitemap -%> <%= f.label :sitemap, _('show_page_in_sitemap') %> <%- end -%>
<%= _("names") %>
<%= f.label( "name", _("name")) %>: <%= f.text_field( "name", :size => 31, :class => "thin_border long") %>
<%= f.label( "urlname", _("url_name")) %>: <%= f.text_field "urlname", :size => 31, :class => "thin_border long" %>
<%= f.label( "title", _("page_title")) %>: <%= f.text_field "title", :size => 31, :class => "thin_border long" %>
<%= _("meta_data") %>
<%= _("search_engines") %>: <%= f.check_box "robot_index" %><%= f.label( "robot_index", _("robot_index")) %>
<%= f.check_box "robot_follow" %><%= f.label( "robot_follow", _("robot_follow")) %>
<%= f.label( "meta_description", _("meta_description")) %>:  <%= f.text_area "meta_description", :class => "thin_border long" %>
<%= f.label( "meta_keywords", _("meta_keywords")) %>*:  <%= f.text_area "meta_keywords", :class => "thin_border long" %>
*<%= _('pages.update.comma_seperated') %>
<%= submit_tag _("save"), :class => 'button' %>
<% end %>