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/sandwiches.pug

14 lines
352 B
Text
Raw Normal View History

2020-08-16 13:26:58 +02:00
extends layout
block content
div#date-selector.card
2020-08-18 17:10:45 +02:00
label(for="date")=__("date")
2020-08-16 13:26:58 +02:00
input#date(type="date" value=date)
div.card
2020-08-18 17:10:45 +02:00
h1=__("sandwiches")
2020-08-16 13:26:58 +02:00
each sandwich in sandwiches
div.sandwich
h2 #{sandwich.name}: #{sandwich.dataValues.number}
2020-08-16 13:26:58 +02:00
2020-08-20 14:50:59 +02:00
script(src="/javascripts/sandwiches.js")