Sha256: 209f069078e1617d0d715fe106dcd56d508aaffb267d1d0c360974aa91a6a2aa
Contents?: true
Size: 1.42 KB
Versions: 22
Compression:
Stored size: 1.42 KB
Contents
<%- set_title 'Page Details' -%> <fieldset class="form_container"> <%= legend_tag 'About This Page' -%> <div class="form_column"> <%= faux_field 'Page Header', @page.page_title %> <%= faux_field 'Title Tag', @page.window_title %> <%= faux_field 'URL', @page.humanize_path %> </div> <div class="form_column"> <%= faux_field 'Status', @page.status %> <%= faux_field 'Include in Sitemap?', @page.sitemap? ? "Yes" : "No" %> <%= faux_field 'Allow Search Engine Indexing', @page.noindex? ? "No" : "Yes" -%> </div> </fieldset> <fieldset class="form_container"> <%= legend_tag 'Meta Content' -%> <div class="form_column"> <%= faux_field 'Meta Description', @page.meta_description %> </div> <div class="form_column"> <%= faux_field 'Meta Keywords', @page.meta_keywords %> </div> </fieldset> <fieldset class="form_container"> <%= legend_tag 'Content ' -%> <%- if @page.state == 'published' -%> <iframe src="http://<%= @site.domain -%><%= @page.humanize_path -%>" width="100%" height="400px" style="background-color: #ffffff;"></iframe> <%- else -%> <div style="background-color: #ffffff; padding: 1em;"> <%= @page.content.html_safe -%> </div> <%- end -%> <div class="link_block"> <%= link_to 'Edit', edit_admin_site_page_path(@site, @page), :class => 'link_button' -%> <%= link_to 'Back', admin_site_pages_path(@site), :class => 'link_button' -%> </div> </fieldset>
Version data entries
22 entries across 22 versions & 1 rubygems