%= form_for([:admin, @page], :remote => true) do |f| %>
<%= _t(:page_type) %>: | <%= f.select('page_layout', @page_layouts, {}, {:class => 'alchemy_selectbox long'}) %> |
<%= _t(:page_status) %>: |
<%= f.check_box :public %>
<%= f.label :public %> <%= f.check_box :visible %> <%= f.label :visible %> <%= f.check_box :restricted %> <%= f.label :restricted %> <% if configuration(:sitemap)[:show_flag] %> <%= f.check_box :sitemap %> <%= f.label :sitemap %> <% end %> |
<%= _t(:names) %> | |
<%= f.label "name" %>: | <%= f.text_field "name", :size => 31, :class => "thin_border long", :autofocus => true %> |
<%= f.label "urlname" %>: | <%= f.text_field "urlname", :value => @page.slug, :size => 31, :class => "thin_border long" %> |
<%= f.label "title" %>: | <%= f.text_field "title", :size => 31, :class => "thin_border long" %> |
<%= _t(:meta_data) %> | |
<%= _t(:search_engines) %>: |
<%= f.check_box "robot_index" %>
<%= f.label "robot_index" %> <%= f.check_box "robot_follow" %> <%= f.label "robot_follow" %> |
<%= f.label "meta_description" %>: | <%= f.text_area "meta_description", :class => "thin_border long" %> |
<%= f.label "meta_keywords" %>*: |
<%= f.text_area "meta_keywords", :class => "thin_border long" %> <% if !@page.layoutpage %> * <%= _t('pages.update.comma_seperated') %> <% end %> |
<%= f.label :tag_list %>*: | <%= render 'alchemy/admin/partials/autocomplete_tag_list', :f => f, :object => @page %> |
<%= f.button _t(:save), :class => 'button' %> |