This commit is contained in:
Sam Wing 2019-11-16 23:57:45 -05:00
parent 09af971ac0
commit 5d0551eb9f

View file

@ -74,13 +74,13 @@ block content
.control.inline
input.inline.button(type='submit' value='Unpledge')
td(data-label='Delete Item')
if item.addedBy === req.user._id
form.inline(method='POST', action=`/wishlist/${req.params.user}/remove/${item.id}`)
.field.inline
.control.inline
button.button.is-text(
type='submit',
style='text-decoration: none;'
style='text-decoration: none;',
disabled=item.addedBy !== req.user._id
)
span.icon
i.fas.fa-trash