Sha256: 4564c7e87d83328879127566182a1fbd88798eda355e5ea4f481b399b53e7bae
Contents?: true
Size: 1.06 KB
Versions: 13
Compression:
Stored size: 1.06 KB
Contents
<%= alchemy_form_for [:admin, @page] do |f| %> <%= f.input :page_layout, collection: @page_layouts, label: Alchemy.t(:page_type), 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"> <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><%= Alchemy.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 Alchemy.t(:save) %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems