Sha256: befa83f25fe8d4b2ec75adc74113cd3dd0250244924823005f32764e70cd8f22
Contents?: true
Size: 985 Bytes
Versions: 7
Compression:
Stored size: 985 Bytes
Contents
<ol class='posts drafted'> <h3>Drafts</h3> <% drafted.each do |post| %> <li> <%= link_to post.title, url('/admin/posts/:post.id/edit', post: post), class: %w(title) %> </li> <% end %> </ol> <ol class='posts published'> <h3>Published</h3> <% published.each do |post| %> <li> <%= link_to post.title, url('/admin/posts/:post.id/edit', post: post), class: %w(title) %> <% if post.tags.any? %> <%= content_tag :div, class: %w(tags) do %> <svg version="1.1" class="tag icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve"> <path d="M18.662,5.521L5.237,19l0.707-4.967l-4.945,0.709L14.424,1.263c0.391-0.392,1.133-0.308,1.412,0l2.826,2.839 C19.162,4.575,19.053,5.128,18.662,5.521z"/> </svg> <%= post_tags(post) %> <% end %> <% end %> </li> <% end %> </ol>
Version data entries
7 entries across 7 versions & 1 rubygems