Skip to content
Snippets Groups Projects
Commit 939385ab authored by Teemu Autto's avatar Teemu Autto
Browse files

Use correct filter name to convert string into javascript notation. Fixes issue #5.

parent 5de4b295
No related branches found
No related tags found
No related merge requests found
Pipeline #15116 passed
......@@ -28,7 +28,7 @@
<div class="form-group">
<div class="d-flex justify-content-end">
<button name="action" value="update" class="btn btn-primary border-dark">{{ _("Update listing") }}</button>
<button name="action" form="delete-form" value="delete" class="btn btn-danger" onclick="return confirm({{ _("Are you sure?")|json }});">{{ _("Delete") }}</button>
<button name="action" form="delete-form" value="delete" class="btn btn-danger" onclick="return confirm({{ _("Are you sure?")|tojson }});">{{ _("Delete") }}</button>
</div>
</div>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment