christmas/views/note.pug

19 lines
636 B
Text
Raw Normal View History

2018-11-30 13:44:06 -08:00
extends layout.pug
block content
2019-11-16 20:01:08 -08:00
a(href='..') <i class="fas fa-arrow-left"></i> Back to #{req.params.user}'s wishlist
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
2019-11-16 20:30:54 -08:00
form.inline(method='POST', style='margin-left: 1em;')
2019-11-16 20:01:00 -08:00
.field.inline
.control.inline
input.button.is-danger(type='submit', value='Delete Note')