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&nbsp;' -%>
  <%- 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

Version Path
site_logic-1.9.13 app/views/admin/pages/show.html.erb
site_logic-1.9.12 app/views/admin/pages/show.html.erb
site_logic-1.9.11 app/views/admin/pages/show.html.erb
site_logic-1.9.10 app/views/admin/pages/show.html.erb
site_logic-1.9.9 app/views/admin/pages/show.html.erb
site_logic-1.9.8 app/views/admin/pages/show.html.erb
site_logic-1.9.7 app/views/admin/pages/show.html.erb
site_logic-1.9.6 app/views/admin/pages/show.html.erb
site_logic-1.9.5 app/views/admin/pages/show.html.erb
site_logic-1.9.4 app/views/admin/pages/show.html.erb
site_logic-1.9.3 app/views/admin/pages/show.html.erb
site_logic-1.9.2 app/views/admin/pages/show.html.erb
site_logic-1.9.1 app/views/admin/pages/show.html.erb
site_logic-1.9.0 app/views/admin/pages/show.html.erb
site_logic-1.8.0 app/views/admin/pages/show.html.erb
site_logic-1.7.1 app/views/admin/pages/show.html.erb
site_logic-1.7.0 app/views/admin/pages/show.html.erb
site_logic-1.6.10 app/views/admin/pages/show.html.erb
site_logic-1.6.9 app/views/admin/pages/show.html.erb
site_logic-1.6.8 app/views/admin/pages/show.html.erb