Sha256: 992e9ff69cbab0b17b4d37786291e64e67e8154d6e391cfb0d2711801db1873f
Contents?: true
Size: 1.14 KB
Versions: 13
Compression:
Stored size: 1.14 KB
Contents
<div class="field"> <% if f.object.pathable? %> <%= labelled_field(f.text_field(:path_segment, dir: "ltr", lang: nil), "Path segment", description: "Only alpanumeric characters and dashes " \ "are allowed.") %> <% else %> <div class="field"> <label>Path segment</label> <p class="description"> Unable to add a path segment, please add one to <%= link_to("this page's parent", edit_admin_page_path(f.object.parent, locale: f.object.locale, anchor: "metadata")) %> first. </p> </div> <% end %> </div> <div class="field"> <%= f.label_for :meta_image, "Image" %> <p class="description"> Image displayed when sharing on social media. Will fall back to the primary image if absent. Recommended size is at least 1200x630. </p> <%= f.image_uploader :meta_image %> </div> <% @page.template_config.metadata_blocks do |block_name, block_options| %> <%= page_block_field(f, block_name, block_options) %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems