Sha256: 605cd34cbab1b5b1d8d9145d317dcf6da84458b79b9a87eca066b8bdf4c6cc3c
Contents?: true
Size: 767 Bytes
Versions: 2
Compression:
Stored size: 767 Bytes
Contents
%section.posts .d-flex.justify-content-between %h2 Posts .action = link_to "Add New", hyper_kitten_meow.new_admin_post_path, class: "btn btn-primary" %table.table %thead %tr %th Title %th Article %th Author %th Slug %th Tags %th Manage %tbody - @posts.each do |post| %tr.post{class: "#{post.css_classes} align-middle"} %td= "#{post.title}" %td= truncate(post.summary, length: 40, separator: ' ') %td= "#{post.user.name}" %td= "#{post.slug}" %td= "#{post.tags.to_a.to_sentence}" %td= link_to "Edit", hyper_kitten_meow.edit_admin_post_path(post), class: "btn btn-sm btn-outline-info" != pagy_bootstrap_nav(@pagy)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyper-kitten-meow-0.1.2 | app/views/hyper_kitten_meow/admin/posts/index.html.haml |
hyper-kitten-meow-0.1.1 | app/views/hyper_kitten/meow/admin/posts/index.html.haml |