Sha256: e08ca5c38a67df799480cc97917dfc14d78555468db800a70de4bba998237adf

Contents?: true

Size: 1.05 KB

Versions: 28

Compression:

Stored size: 1.05 KB

Contents

<%= 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'} %>
  <div class="input check_boxes">
    <label class="control-label"><%= Alchemy.t(:page_status) %></label>
    <div class="control_group">
      <label class="checkbox">
        <%= f.check_box :visible %>
        <%= f.object.class.human_attribute_name :visible %>
      </label>
    <% if configuration(:sitemap)['show_flag'] %>
      <label class="checkbox">
        <%= f.check_box :sitemap %>
        <%= f.object.class.human_attribute_name :sitemap %>
      </label>
    <% end %>
    </div>
  </div>
  <%= f.input :name, autofocus: true %>
  <%= f.input :urlname, as: 'string' %>
  <%= f.input :title %>
  <% if @page.taggable? %>
    <div class="input string">
      <%= f.label :tag_list %>
      <%= render 'alchemy/admin/partials/autocomplete_tag_list', f: f %>
    </div>
  <% end %>
  <%= f.submit Alchemy.t(:save) %>
<% end %>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
alchemy_cms-4.6.7 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.6.6 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.6.5 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.5.1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.4.5 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.6.4 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.6.3 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.6.2 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.6.1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.6.0 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.5.0 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.4.4 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.4.3 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.4.2 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.4.1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.4.0 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.3.2 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.2.4 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.3.1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-4.2.3 app/views/alchemy/admin/pages/configure_external.html.erb