Sha256: 43b6533fe3538a661164a0e46a8f937621de627af1b47d79270b5672158e3bcd
Contents?: true
Size: 1.62 KB
Versions: 3
Compression:
Stored size: 1.62 KB
Contents
<%= alchemy_form_for [:admin, @page], class: 'edit_page' do |f| %> <%= f.input :page_layout, collection: @page_layouts, label: page_layout_label(@page), include_blank: false, input_html: {class: 'alchemy_selectbox'} %> <div class="input check_boxes"> <label class="control-label"><%= Alchemy.t(:page_status) %></label> <div class="control_group"> <%= render 'alchemy/admin/pages/publication_fields' %> <%= page_status_checkbox(@page, :visible) %> <%= page_status_checkbox(@page, :restricted) %> <% if configuration(:sitemap)['show_flag'] %> <%= page_status_checkbox(@page, :sitemap) %> <% end %> </div> </div> <h2><%= Alchemy.t(:names) %></h2> <%= f.input :name, autofocus: true %> <%= f.input :urlname, as: 'string', input_html: {value: @page.slug} %> <%= f.input :title, input_html: {'data-alchemy-char-counter' => 60} %> <h2><%= Alchemy.t(:meta_data) %></h2> <div class="input check_boxes"> <label class="control-label"><%= Alchemy.t(:search_engines) %></label> <div class="control_group"> <%= page_status_checkbox(@page, :robot_index) %> <%= page_status_checkbox(@page, :robot_follow) %> </div> </div> <%= f.input :meta_description, as: 'text', input_html: {'data-alchemy-char-counter' => 160} %> <%= f.input :meta_keywords, as: 'text', hint: Alchemy.t('pages.update.comma_seperated') %> <% 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
3 entries across 3 versions & 1 rubygems