Sha256: 6de4eb6d4efa8de32a21e975b412bb04cc84e3a247972d9476e81cd85af442fc
Contents?: true
Size: 602 Bytes
Versions: 2
Compression:
Stored size: 602 Bytes
Contents
<%= render :partial => 'shared/cms_content_for'%> <h1><%= "'#{params[:tag_name]}' #{t("cms.posts")}" %></h1> <div class="posts"> <% unless @posts.empty? %> <%= render @posts %> <% else %> <p><%= t("cms.no_posts_found") %>.</p> <% end %> </div> <% #TODO - Localize this section %> <p class="pagination"> <%= link_to h('< Previous Page'), :overwrite_params => { :page => @posts.previous_page } if @posts.previous_page %> <%= "|" if @posts.previous_page && @posts.next_page %> <%= link_to h('Next Page >'), :overwrite_params => { :page => @posts.next_page } if @posts.next_page %> </p>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_cms-0.0.4 | app/views/posts/tags.html.erb |
spree_cms-0.0.3 | app/views/posts/tags.html.erb |