Bug fix in gymnast editing
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Gregory Trullemans 2021-12-20 12:23:22 +01:00
parent f2592d62f8
commit 0fdbfe11dd
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@
<div class="col-12 col-sm-12 col-md-12 col-lg-8 col-xl-8">
<div class="card">
<div class="card-header">
<h4 class="">{% if gymnastid %}Edit{% else %}Add{% endif %} Gymnast</h4>
<h4 class="">{% if gymnast_id %}Edit{% else %}Add{% endif %} Gymnast</h4>
</div>
<div class="card-body">
<form action="{% if gymnastid %}{% url 'gymnast_update' gymnastid %}{% else %}{% url 'gymnast_create' %}{% endif %}" method="post" class="form-horizontal" id="formulaire" name="formulaire">
<form action="{% if gymnast_id %}{% url 'gymnast_update' gymnast_id %}{% else %}{% url 'gymnast_create' %}{% endif %}" method="post" class="form-horizontal" id="formulaire" name="formulaire">
{% csrf_token %}
<div class="form-group row {% if form.last_name.errors %}has-error has-feedback{% endif %}">
<label for="id_last_name" class="col-4 col-sm-2 col-md-3 col-lg-3 col-xl-3 col-form-label">Names*</label>