Sha256: dcc68056d4d41fb3b1c44d88ffd4c5f36da4b2472f0b5eec65d598f11284b8e9
Contents?: true
Size: 1.07 KB
Versions: 3
Compression:
Stored size: 1.07 KB
Contents
<nav id="Menu" class="admin"> <section> <div class='posts'> <%= link_to 'New post', new_title_admin_posts_path, class: %w(new button) %> <%= link_to admin_posts_path(type: :draft), class: %w(drafts), remote: true, as: 'Posts.Popup' do %> <span class='type'>Drafts</span> <%= content_tag :span, Post.drafted.count, class: %w(count) %> <% end %> <%= link_to admin_posts_path(type: :published), class: %w(drafts), remote: true, as: 'Posts.Popup' do %> <span class='type'>Published</span> <%= content_tag :span, Post.published.count, class: %w(count) %> <% end %> </div> </section> <%= button_to session_path, method: :delete, class: %w(logout), form_class: %w(form logout) do %> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" class="logout" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve"> <path d="M19,10l-6-5v3H6v4h7v3L19,10z M3,3h8V1H3C1.9,1,1,1.9,1,3v14c0,1.1,0.9,2,2,2h8v-2H3V3z"/> </svg> <% end %> </nav>
Version data entries
3 entries across 3 versions & 1 rubygems