christmas/views/note.pug

18 lines
560 B
Text
Raw Normal View History

2018-11-30 13:44:06 -08:00
extends layout.pug
block content
2019-11-16 20:01:00 -08:00
form.inline(method='POST', action=`/wishlist/${req.params.user}/note/${req.params.id}`)
2018-11-30 13:44:06 -08:00
.field
label.label Note
2018-11-30 13:55:55 -08:00
.control
2018-11-30 13:44:06 -08:00
textarea.textarea(
name='note'
2019-11-16 20:01:00 -08:00
)= req.query.current
.field.inline
.control.inline
input.button.is-primary(type='submit' value='Save Note')
if req.query.current
form.inline(method='POST', action=``, style='margin-left: 1em;')
.field.inline
.control.inline
input.button.is-danger(type='submit', value='Delete Note')