Tweak, tweak

This commit is contained in:
Bob den Otter
2019-07-25 21:03:55 +02:00
parent 7b9d03fc9b
commit 94de428948
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
{% if record|image %}
{{ popup(record|image, 1024, 768) }}
{{ dump(record|image) }}
{% endif %}
{# Output all fields, in the order as defined in the content type.

View File

@@ -11,7 +11,7 @@
:alt='{{ field.get('alt')|json_encode }}'
:media='{{ field.get('media')|json_encode }}'
:directory='{{ directory|json_encode }}'
:csrf_token='{{ csrf_token('upload') }}'
:csrf_token='{{ csrf_token('upload')|json_encode }}'
></editor-image>
{% endblock %}