mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-05-13 22:52:53 +02:00
18 lines
607 B
HTML
18 lines
607 B
HTML
<div class="mt-3" id="gm-notes">
|
|
<form>
|
|
<h2>
|
|
Notes MJ
|
|
<a hx-post="{% url "character:gm_notes_change" pk=character.pk %}"
|
|
hx-target="#gm-notes"
|
|
hx-swap="innerHTML"
|
|
class="btn btn-primary btn-sm"
|
|
>
|
|
<i class="fa-solid fa-save"></i> Save
|
|
</a>
|
|
</h2>
|
|
<div class="alert alert-info">Seul le MJ peut voir et modifier ces notes.</div>
|
|
{% csrf_token %}
|
|
<textarea class="form-control" name="gm_notes" rows="10">{{ character.gm_notes }}</textarea>
|
|
</form>
|
|
</div>
|