Sha256: 5dec5a47154199e10f2b5590e7a8cb176adc5b725c19a4a5b1b8738df086a736

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 Bytes

Contents

<h1><%= (t('.editing_page') + " &ldquo;#{@page.title}&rdquo;").html_safe %></h1>

<% content_for :sidebar do %>

  <h3 class="name"><%= @page.title %></h3>
  <br clear="clear" />

  <ul class="sidebar post-menu">
    <%= hook :admin_page_tabs, {:current => current} do %>
      <li<%== ' class="active"' if current == t('.page_details') %>>
        <%= link_to t('.page_details'), edit_admin_page_url(@page) %>
      </li>      
      <li<%== ' class="active"' if current == "Contents" %>>
        <%= link_to t('.contents'), admin_page_contents_url(@page) %>
      </li>    
      <li<%== ' class="active"' if current == "Images" %>>
        <%= link_to t('.images'), admin_page_images_url(@page) %>
      </li>    
    <% end %>
  </ul>
  <br clear="clear" />

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_essential_cms-0.1.2 app/views/admin/shared/_page_tabs.html.erb
spree_essential_cms-0.1.0 app/views/admin/shared/_page_tabs.html.erb