o
This commit is contained in:
parent
09af971ac0
commit
5d0551eb9f
1 changed files with 10 additions and 10 deletions
|
@ -74,16 +74,16 @@ block content
|
||||||
.control.inline
|
.control.inline
|
||||||
input.inline.button(type='submit' value='Unpledge')
|
input.inline.button(type='submit' value='Unpledge')
|
||||||
td(data-label='Delete Item')
|
td(data-label='Delete Item')
|
||||||
if item.addedBy === req.user._id
|
form.inline(method='POST', action=`/wishlist/${req.params.user}/remove/${item.id}`)
|
||||||
form.inline(method='POST', action=`/wishlist/${req.params.user}/remove/${item.id}`)
|
.field.inline
|
||||||
.field.inline
|
.control.inline
|
||||||
.control.inline
|
button.button.is-text(
|
||||||
button.button.is-text(
|
type='submit',
|
||||||
type='submit',
|
style='text-decoration: none;',
|
||||||
style='text-decoration: none;'
|
disabled=item.addedBy !== req.user._id
|
||||||
)
|
)
|
||||||
span.icon
|
span.icon
|
||||||
i.fas.fa-trash
|
i.fas.fa-trash
|
||||||
|
|
||||||
else
|
else
|
||||||
each item, index in wishlist
|
each item, index in wishlist
|
||||||
|
|
Loading…
Reference in a new issue