2018-11-30 13:44:06 -08:00
|
|
|
extends layout.pug
|
|
|
|
|
|
|
|
block content
|
2021-12-03 08:13:43 -08:00
|
|
|
a(href='..') <i class="fas fa-arrow-left"></i> #{lang('NOTE_BACK', req.params.user)}
|
2020-11-07 12:54:53 -08:00
|
|
|
form(id='refreshform', method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/refresh/${req.params.id}`)
|
|
|
|
form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/note/${req.params.id}`)
|
2019-11-18 12:07:57 -08:00
|
|
|
.columns
|
|
|
|
.column
|
|
|
|
.field
|
2021-12-03 08:13:43 -08:00
|
|
|
label.label= lang('NOTE_NAME')
|
2019-11-18 12:07:57 -08:00
|
|
|
.control
|
2019-11-18 12:39:37 -08:00
|
|
|
input.input(name='name', value=item.name)
|
2019-11-18 12:07:57 -08:00
|
|
|
.column
|
|
|
|
.field
|
2021-12-03 08:13:43 -08:00
|
|
|
label.label= lang('NOTE_URL')
|
2019-11-18 12:07:57 -08:00
|
|
|
.control
|
2019-11-18 12:39:37 -08:00
|
|
|
input.input(name='url', value=item.url)
|
2020-11-01 19:01:30 -08:00
|
|
|
.column
|
|
|
|
.field
|
2021-12-03 08:13:43 -08:00
|
|
|
label.label= lang('NOTE_PRICE')
|
2020-11-01 19:01:30 -08:00
|
|
|
.control
|
|
|
|
input.input(name='price', value=item.price)
|
2020-11-02 14:43:57 -08:00
|
|
|
.column
|
|
|
|
.field
|
2021-12-03 08:13:43 -08:00
|
|
|
label.label= lang('NOTE_IMAGE_URL')
|
2020-11-02 14:43:57 -08:00
|
|
|
.control
|
|
|
|
input.input(name='image', value=item.image)
|
2020-11-07 12:54:53 -08:00
|
|
|
.column.is-narrow
|
|
|
|
.field
|
2021-12-03 08:13:43 -08:00
|
|
|
label.label= lang('NOTE_GET_PRODUCT_DATA')
|
|
|
|
input.is-ghost.button(type='submit', value=lang('NOTE_REFRESH_DATA') style='width: 100%;', form='refreshform')
|
2018-11-30 13:44:06 -08:00
|
|
|
.field
|
2021-12-03 08:13:43 -08:00
|
|
|
label.label= lang('NOTE_NOTE')
|
2018-11-30 13:55:55 -08:00
|
|
|
.control
|
2018-11-30 13:44:06 -08:00
|
|
|
textarea.textarea(
|
|
|
|
name='note'
|
2019-11-18 12:39:37 -08:00
|
|
|
)= item.note
|
2019-11-16 20:01:00 -08:00
|
|
|
.field.inline
|
|
|
|
.control.inline
|
2021-12-03 08:13:43 -08:00
|
|
|
input.button.is-primary(type='submit' value=lang('NOTE_SAVE_BUTTON'))
|