christmas/views/note.pug

25 lines
702 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}`)
2019-11-18 12:07:57 -08:00
.columns
.column
.field
label.label Name
.control
input.input(name='name', value=item.name)
2019-11-18 12:07:57 -08:00
.column
.field
label.label URL
.control
input.input(name='url', value=item.url)
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'
)= item.note
2019-11-16 20:01:00 -08:00
.field.inline
.control.inline
2019-11-18 12:07:57 -08:00
input.button.is-primary(type='submit' value='Save Item')