Commit f1facb2b authored by Dom Sekotill's avatar Dom Sekotill
Browse files

combined template forms

parent c93f2414
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
{% extends "form_pages.html" %}

{% block content %}
	<form method="post" class="col-sm-6 col-sm-offset-3 top-pad">
		{% csrf_token %}
		{% block form %}{% endblock %}
	</form>
	{% with form_class="col-sm-6 col-sm-offset-3" %}
		{{ block.super }}
	{% endwith %}
{% endblock content %}
+8 −0
Original line number Diff line number Diff line
@@ -2,3 +2,11 @@

{% block title %}{{ title }}{% endblock %}
{% block heading %}{{ title }}{% endblock %}

{% block content %}
	<form method="post" class="top-pad {{ form_class }}"
		{% if form_action %} action="{{form_action}}" {% endif %}>
		{% csrf_token %}
		{% block form %}{% endblock %}
	</form>
{% endblock content %}
+3 −4
Original line number Diff line number Diff line
{% extends "form_pages.html" %}

{% block content %}
	<form method="post" class="form-horizontal top-pad">
		{% csrf_token %}
		{% block form %}{% endblock %}
	</form>
	{% with form_class="form-horizontal" %}
		{{ block.super }}
	{% endwith %}
{% endblock content %}