mybuddy/babybuddy/templates/babybuddy/form.html

14 lines
454 B
HTML

{% load i18n widget_tweaks %}
<div class="container-fluid pb-5">
<form role="form" method="post" enctype="multipart/form-data">
{% csrf_token %}
{% for field in form %}
<div class="form-group row">
{% include 'babybuddy/form_field.html' %}
</div>
{% endfor %}
<button type="submit" class="submit-primary btn btn-primary btn-lg">{% trans "Submit" %}</button>
</form>
</div>