Sha256: 69fa7926663f9aa7e349d8e4f071e43adc83701dbac51b4da4ebfcba6f116075
Contents?: true
Size: 983 Bytes
Versions: 21
Compression:
Stored size: 983 Bytes
Contents
<aside class="page-sidebar post-sidebar"> <header class="page-sidebar--header"> <div class="header-container--left"> <h5 class="header--title">Your Posts</h5> </div> <div class="header-container--right"> <ul class="header-container--right__actions"> <li><%= link_to 'New Blog Post', fuel.new_admin_post_path, class: 'add-icon' %></li> </ul> </div> </header> <ul class="resource-list post-list"> <% @posts.each do |post| %> <%= link_to fuel.edit_admin_post_path(post) do %> <li class="resource-item post-item <%= 'active' if @post && @post == post %>"> <p class="post-item--date"><time><%= post.published ? "Published: #{post.published_at.strftime('%m/%d/%Y')}" : 'Draft' %></time></p> <h5 class="post-item--title"><%= post.title %></h5> <p class="post-item--content"><%= truncate_html(post.teaser, length: 60).html_safe %></p> </li> <% end %> <% end %> </ul> </aside>
Version data entries
21 entries across 21 versions & 1 rubygems