Sha256: ea13663a6d910fc2803caba6cc8d717cf3187b8c0119a83f37901dac69c835ed

Contents?: true

Size: 1.04 KB

Versions: 27

Compression:

Stored size: 1.04 KB

Contents

<%= alchemy_form_for [:admin, @page] do |f| %>
  <%= f.input :page_layout,
    collection: @page_layouts,
    label: _t(:page_type),
    include_blank: false,
    input_html: {class: 'alchemy_selectbox'} %>
  <div class="input check_boxes">
    <label class="control-label"><%= _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>
  <h2><%= _t(:names) %></h2>
  <%= 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 _t(:save) %>
<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/pages/configure_external.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/pages/configure_external.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/pages/configure_external.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/pages/configure_external.html.erb