{% load character_extras %}
<div class="mt-3" id="gm-notes">
    <h2>
        Notes MJ
        <a hx-get="{% url "character:gm_notes_change" pk=character.pk %}"
           hx-target="#gm-notes"
           hx-swap="outerHTML"
           class="btn btn-primary btn-sm"
        >
            <i class="fa-solid fa-pen-to-square"></i> Edit
        </a>
    </h2>
    <div class="alert alert-info">Seul le MJ peut voir et modifier ces notes.</div>
    {{ character.get_formatted_gm_notes|safe }}
</div>
