12 lines
494 B
HTML
Executable File
12 lines
494 B
HTML
Executable File
{% load crispy_forms_tags %}
|
|
|
|
{{form.media}}
|
|
<form action="" method="post" enctype="multipart/form-data" id="marker-form" class="inline-form">
|
|
{% csrf_token %}
|
|
|
|
{{ form|crispy }}
|
|
{% comment %} <input type="submit" class="submit-button" value="Submit" name="submit"> {% endcomment %}
|
|
|
|
<button hx-post="{% url 'generic:exam_collection_add_marker' collection_id exam_type %}" hx-target=".add-marker" hx-swap="innerHTML" class="btn btn-primary">Add marker to exams</button>
|
|
|
|
</form> |