Sha256: a54ec61497c396d29048e6f3736748cfdefee092e8845fbc3b7350a090cb7ac6

Contents?: true

Size: 668 Bytes

Versions: 10

Compression:

Stored size: 668 Bytes

Contents

<%= alchemy_form_for [:admin, @page], class: 'edit_page' do |f| %>
  <%= f.input :page_layout,
    collection: @page_layouts,
    label: @page.definition.blank? ? (%(<span class="inline warning icon" title="#{ Alchemy.t(:page_definition_missing) }"></span>&nbsp;) + Alchemy.t(:page_type)).html_safe : Alchemy.t(:page_type),
    include_blank: false,
    input_html: {class: 'alchemy_selectbox'} %>
  <%= f.input :name, autofocus: true %>
  <% 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

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.3.3 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/layoutpages/edit.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/layoutpages/edit.html.erb