mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-05-14 23:22:53 +02:00
20 lines
622 B
HTML
20 lines
622 B
HTML
<div class="mt-3" id="notes">
|
|
<form>
|
|
<h2>
|
|
Notes
|
|
<a hx-post="{% url "character:notes_change" pk=character.pk %}"
|
|
hx-target="#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">
|
|
Le joueur et le MJ peuvent voir et modifier ces notes.
|
|
</div>
|
|
{% csrf_token %}
|
|
<textarea class="form-control" name="notes" rows="25">{{ character.notes }}</textarea>
|
|
</form>
|
|
</div>
|