Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
SOD/views/admin/sandwiches/index.pug

18 lines
667 B
Text

extends ../../layout
block content
div.card#sandwichesManagement
h1=__("admin.sandwichManagement")
a.add(href="/admin/sandwiches/add")
button=__("admin.add")
div
each sandwich in sandwiches
div.sandwich
h2=sandwich.name
div.buttons
a.edit(href="/admin/sandwiches/edit?name="+sandwich.name)
button=__("admin.edit")
a.remove(href="/admin/sandwiches/delete?name="+sandwich.name)
button=__("admin.remove")
script(src="/javascripts/admin/sandwiches.js")