Sha256: 9490de14d6adde2bb75e1bd8b8e8eca6c0b280ca26afacee547be45f4ca594d7

Contents?: true

Size: 1010 Bytes

Versions: 2

Compression:

Stored size: 1010 Bytes

Contents

<%= render :partial => 'admin/shared/contents_sub_menu' %>

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

<% content_for :sidebar do %>

  <h3 class="name"><%= @post.title %><span class='sku'><%= (@post.posted_at || Time.now).strftime('%x') %></span></h3>
  <br clear="clear" />

  <ul class="sidebar post-menu">
    <li<%= ' class="active"'.html_safe if current == "Post Details" %>>
      <%= link_to t(".post_details"), edit_admin_post_url(@post) %>
    </li>      
    <li<%= ' class="active"'.html_safe if current == "Images" %>>
      <%= link_to t("images"), admin_post_images_url(@post) %>
    </li>     
    <li<%= ' class="active"'.html_safe if current == "Related Products" %>>
      <%= link_to t(".related_products"), admin_post_products_url(@post) %>
    </li> 
    <li<%= ' class="active"'.html_safe if current == "Categories" %>>
      <%= link_to t(".post_categories"), admin_post_categories_url(@post) %>
    </li>
  </ul>
  <br clear="clear" />

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_essential_blog-0.1.0 app/views/blog/admin/shared/_post_tabs.html.erb
spree_essential_blog-0.1.0.rc1 app/views/blog/admin/shared/_post_tabs.html.erb