{% extends 'base.html' %}

{% block title %} Model2 {% endblock title %}

{% block content %} 
<h3> Model2 - FormSet </h3>
<form action="{% url 'model2-formset' pk %}" method="post">
	{% csrf_token %}
	{{ formset.management_form }}
	{% for form in formset %}
		{{ form }}
		<br>
		<br>
	{% endfor %}
	<input type="submit" value="Insert">
</form>
{% endblock content %}