Files
penracourses/generic/templates/generic/user_form.html
T

12 lines
467 B
HTML
Executable File

{% load crispy_forms_tags %}
{{form.media}}
<form action="" method="post" enctype="multipart/form-data" id="user-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_author' collection_id %}" hx-target="#add-user" hx-swap="innerHTML" class="btn btn-primary">Submit</button>
</form>