From 4729eb88f8e9fc69c897d70bfbd58945561db47d Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Sun, 11 Jun 2023 20:46:20 +0200 Subject: [PATCH] adjust forms for update --- guild/templates/guild/character_form.html | 6 +++++- guild/templates/guild/player_form.html | 6 +++++- guild/templates/guild/playsession_form.html | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/guild/templates/guild/character_form.html b/guild/templates/guild/character_form.html index 5e34136..cc1f41f 100644 --- a/guild/templates/guild/character_form.html +++ b/guild/templates/guild/character_form.html @@ -4,6 +4,10 @@
{% csrf_token %} {{ form.as_p }} - + {% if object %} + + {% else %} + + {% endif %}
{% endblock content %} \ No newline at end of file diff --git a/guild/templates/guild/player_form.html b/guild/templates/guild/player_form.html index 507e7da..8eb4d5d 100644 --- a/guild/templates/guild/player_form.html +++ b/guild/templates/guild/player_form.html @@ -4,6 +4,10 @@
{% csrf_token %} {{ form.as_p }} - + {% if object %} + + {% else %} + + {% endif %}
{% endblock content %} \ No newline at end of file diff --git a/guild/templates/guild/playsession_form.html b/guild/templates/guild/playsession_form.html index 207308b..fcc7902 100644 --- a/guild/templates/guild/playsession_form.html +++ b/guild/templates/guild/playsession_form.html @@ -4,6 +4,10 @@
{% csrf_token %} {{ form.as_p }} - + {% if object %} + + {% else %} + + {% endif %}
{% endblock content %} \ No newline at end of file