philomena/lib/philomena_web/templates/admin/forum/index.html.slime

18 lines
328 B
Text
Raw Permalink Normal View History

2019-12-15 18:54:27 +01:00
h2 Listing Forums
table.table
thead
tr
th Name
th Options
tbody
= for forum <- @forums do
tr
td
= link forum.name, to: ~p"/forums/#{forum}"
2019-12-15 18:54:27 +01:00
td class="text-right"
= link "Edit", to: ~p"/admin/forums/#{forum}/edit"
2019-12-15 18:54:27 +01:00
= link "New Forum", to: ~p"/admin/forums/new"