Sha256: 9f6abed8ce9b177e08eb7ff31de66ff91e93f34cd78ac1c4818d353676c6c20e
Contents?: true
Size: 919 Bytes
Versions: 2
Compression:
Stored size: 919 Bytes
Contents
<%= content_tab "Content" do %> <%= render partial: "edit_content", locals: { f: f } %> <% end %> <% if @page.unconfigured_blocks.any? %> <%= content_tab "Unconfigured content" do %> <p> This page has additional content fields not enabled by the selected template. </p> <% @page.unconfigured_blocks do |block_name, block_options| %> <%= page_block_field(f, block_name, block_options) %> <% end %> <% end %> <% end %> <% if @page.template_config.value(:images) || @page.template_config.value(:image) %> <%= content_tab "Images" do %> <%= render partial: "edit_images", locals: { f: f } %> <% end %> <% end %> <% if @page.template_config.value(:files) %> <%= content_tab "Files" do %> <%= render partial: "edit_files", locals: { f: f } %> <% end %> <% end %> <%= content_tab "Metadata" do %> <%= render partial: "edit_metadata", locals: { f: f } %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pages_core-3.14.0 | app/views/admin/pages/_form.html.erb |
pages_core-3.13.0 | app/views/admin/pages/_form.html.erb |