service_information_form.html 791 B

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