Sha256: 0c06e4eca12ffefce922c5c73b2474bca0241ccf787ae2d7be95a79ae2b1b09c

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

<%- set_title 'Site Configuration' -%>

<fieldset class="form_container">
  <%= legend_tag 'About This Site' -%>

  <div class="form_column">
    <%= faux_field 'Name', @site.name %>
    <%= faux_field 'Domain', @site.domain %>
    <%= faux_field 'Layout', @site.layout %>
  </div>
  <div class="form_column">
    <%= faux_field 'Status', @site.status %>
    <%= faux_field 'Live Date', @site.activation_date.to_s(:concise) if @site.active? && @site.activation_date %>
    <%= faux_field 'Redirect To', @site.redirect_to unless @site.redirect_to.blank? %>
  </div>
  <br style="clear: both;" />
  <div class="link_block">
    <%= link_to 'Edit Site', edit_admin_site_path(@site), :class => 'link_button' -%>
    <%- if Site.count == 1 -%>
      <%= link_to 'Back', root_path, :class => 'link_button' -%>
    <%- else -%>
      <%= link_to 'Back', admin_sites_path, :class => 'link_button' -%>
    <%- end -%>
  </div>
</fieldset><br />

<%= render 'admin/nav_items/tabs' -%><br style="clear: both" />

<fieldset class="form_container">
  <%= legend_tag 'Pages' -%><br />
  <%= render :partial => 'admin/pages/index' -%>
</fieldset>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
site_logic-1.9.13 app/views/admin/sites/show.html.erb
site_logic-1.9.12 app/views/admin/sites/show.html.erb
site_logic-1.9.11 app/views/admin/sites/show.html.erb
site_logic-1.9.10 app/views/admin/sites/show.html.erb
site_logic-1.9.9 app/views/admin/sites/show.html.erb
site_logic-1.9.8 app/views/admin/sites/show.html.erb
site_logic-1.9.7 app/views/admin/sites/show.html.erb
site_logic-1.9.6 app/views/admin/sites/show.html.erb
site_logic-1.9.5 app/views/admin/sites/show.html.erb
site_logic-1.9.4 app/views/admin/sites/show.html.erb
site_logic-1.9.3 app/views/admin/sites/show.html.erb
site_logic-1.9.2 app/views/admin/sites/show.html.erb
site_logic-1.9.1 app/views/admin/sites/show.html.erb
site_logic-1.9.0 app/views/admin/sites/show.html.erb