yMDE({ element: document.getElementById('note-text') });
</script>

{% if error %}
<script>
    $('#advancedOptions').collapse('show');
</script>
{% endif %}
{% endblock %}

{% block content %}
<div class="row">
    <div class="col-md-12">
        <h1>
            {{ topic.first_base_name.name }}&nbsp;&middot;&nbsp;<small class="text-muted">Edit note</small>
        </h1>
        <hr />
        <form
            action="{{ url_for('topic.edit_note', map_identifier=topic_map.identifier, topic_identifier=topi