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