mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2945 Fast create edit category error
This commit is contained in:
parent
c7b1a9af7b
commit
7f21b02fd0
@ -4,8 +4,9 @@
|
||||
{{ content|raw }}
|
||||
|
||||
{% if form.mode == 'edit' %}
|
||||
{% set entry = form.entry.setAttribute('cf_json', null) %}
|
||||
<script>
|
||||
const ad = JSON.parse(`{{ form.entry|json_encode|raw }}`)
|
||||
const ad = JSON.parse(`{{ entry|json_encode|raw }}`)
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user