p>

	<form method="post" action="">
{% csrf_token %}
	{{ form.media }}
	{{ form.non_field_errors }}
	{% for field in form.visible_fields %}
		<div class="form-group card">
			{{ field.errors }}
			<div class="card-header">
				{{ field.help_text|safe }}
			</div>
			<div class="card-body">
				{{ field }}
			</div>
		</div>
	{% endfor %}
<input type="submit" class="btn btn-block btn-primary" value="Save" />
<input type="hidden" name="next" value="{{ next }}" />

</form>
{% else %}{# action is something othe