%= alchemy_form_for [:admin, @page] do |f| %>
<%= f.input :page_layout,
collection: @page_layouts,
label: Alchemy.t(:page_type),
include_blank: Alchemy.t('Please choose'),
input_html: {class: 'alchemy_selectbox'} %>
<%= f.input :name, autofocus: true %>
<%= f.input :urlname, as: 'string' %>
<%= f.input :title %>
<% if @page.taggable? %>
<%= f.label :tag_list %>
<%= render 'alchemy/admin/partials/autocomplete_tag_list', f: f %>
<% end %>
<%= f.submit Alchemy.t(:save) %>
<% end %>