partner_information_form.html 635 B

123456789101112131415161718192021
  1. {% extends 'SharixAdmin/index.html' %}
  2. {% block contenthome %}
  3. <h1 class="mb-4">{{ title }}</h1>
  4. <form method="post" style="overflow: auto">
  5. {% csrf_token %}
  6. <div class="container m-2">
  7. {% for field in form %}
  8. {{field.errors}}
  9. <div class="row">
  10. {{field.label_tag}}
  11. {{field}}
  12. <p class="fs-6 fst-italic">{{field.help_text|truncatewords:20}}</p>
  13. </div>
  14. {% endfor %}
  15. </div>
  16. <div class="text-center mt-2 mb-5">
  17. <input class="btn btn-primary center" type="submit" name="apply" value="Отправить" />
  18. </div>
  19. </form>
  20. {% endblock %}