about summary refs log tree commit diff stats
path: root/app/views/admin/links/index.html.haml
blob: e66d9b74b31693eff89004b390e98bd1846f4b93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- title "Links"
%table#entries
  %tr
    %th Title
    %th Date created
    %th
  - @links.each do |link|
    %tr{ class: cycle("even", "odd") }
      %td= link.title
      %td= link.created_at.strftime("%B %d, %Y, %l:%M%P")
      %td
        %ul.admin-actions
          %li= link_to "Edit", edit_admin_link_url(link)
          %li= link_to "Show", link.url