mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-05-21 18:32:52 +02:00
7167821137
for more information, see https://pre-commit.ci
19 lines
573 B
HTML
19 lines
573 B
HTML
{% load character_extras %}
|
|
<div class="mt-3" id="notes">
|
|
<h2>
|
|
Notes
|
|
<a hx-get="{% url "character:notes_change" pk=character.pk %}"
|
|
hx-target="#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">
|
|
Le {% if character|mastered_by:user %}joueur{% else %}MJ{% endif %}
|
|
peut également voir et modifier ces notes.
|
|
</div>
|
|
{{ character.get_formatted_notes|safe }}
|
|
</div>
|