{% extends "admin/change_form.html" %}

{% load i18n admin_urls static %}

{% block extrahead %}
    {{ block.super }}

    {% include 'fragments/codemirror.html' %}
{% endblock extrahead %}


{% block content %}
    {{ block.super }}

    <script>
        setupCodeMirror(document.getElementById('id_description'), 'html');
        setupCodeMirror(document.getElementById('id_short_description'), 'html');
    </script>
{% endblock content %}
