parc_info_user_edit.html 813 B

12345678910111213141516171819202122232425262728293031
  1. {% extends 'base.html' %}
  2. {% load crispy_forms_tags %}
  3. {% load static %}
  4. {% block modals%}
  5. {% endblock %}
  6. {% block script %}
  7. {% endblock %}
  8. {% block main %}
  9. <div class="card-body">
  10. <div class="col-sm-9 p-0 m-3">
  11. <div class="card text-white bg-dark">
  12. {% if page.p_f_titre %}<div class="card-header">{{page.p_f_titre}}</div>{% endif %}
  13. <div class="card-body">
  14. <form action="{% url 'parc_info_user_edit_info' item.id %}" method="post">{% csrf_token %}
  15. {{ form|crispy }}
  16. <input type="submit" class="btn btn-success mt-1" value="Valider">
  17. </form>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. {% endblock %}
  23. {% block right_panel %}
  24. <div class="card-body">
  25. <div class="d-grid gap-2"><a class="btn btn-primary" href="/parc" role="button"><i class="fas fa-undo-alt"></i> Retour</a></div>
  26. </div>
  27. {% endblock %}