Added some form validation; fixed broken templates

This commit is contained in:
Raphael Michel
2015-10-21 16:49:22 +02:00
parent 5bded76187
commit 2832498a16
3 changed files with 14 additions and 2 deletions

View File

@@ -4,7 +4,6 @@
{% block inside %}
<form action="" method="post" class="form-horizontal form-plugins">
{% csrf_token %}
{% bootstrap_form_errors formset %}
<fieldset>
<legend>{% trans "Payment settings" %}</legend>
{% for provider in providers %}

View File

@@ -6,7 +6,7 @@
{% csrf_token %}
<fieldset>
<legend>{% trans "Permissions" %}</legend>
{% bootstrap_form_errors formset %}
{% bootstrap_formset_errors formset %}
{{ formset.management_form }}
<div class="table-responsive">
<table class="table table-striped table-condensed">