Allow passing different css classes to the form template
This commit is contained in:
@@ -20,9 +20,9 @@
|
|||||||
<div class="inner">
|
<div class="inner">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if form.is_multipart %}
|
{% if form.is_multipart %}
|
||||||
<form name="{{ form.prefix }}" enctype="multipart/form-data" method="{{ submit_method|default:'post' }}" action="{{ form_action }}" class="form">
|
<form name="{{ form.prefix }}" enctype="multipart/form-data" method="{{ submit_method|default:'post' }}" action="{{ form_action }}" class="{{ form_class|default:'form' }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<form name="{{ form.prefix }}" method="{{ submit_method|default:'post' }}" action="{{ form_action }}" class="form">
|
<form name="{{ form.prefix }}" method="{{ submit_method|default:'post' }}" action="{{ form_action }}" class="{{ form_class|default:'form' }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ wizard.management_form }}
|
{{ wizard.management_form }}
|
||||||
|
|||||||
Reference in New Issue
Block a user