Commit 73dadc22 authored by Malcolm Dinsmore's avatar Malcolm Dinsmore

Add option to set the method to get for _form.html

parent 1c491791
<form action="." method="post" {% if multipart %}enctype="multipart/form-data"{% endif %} class="pure-form {% if aligned %}pure-form-aligned{% else %}pure-form-stacked{% endif %}">
<form action="." method="{% if method %}{{ method }}{% else %}post{% endif %}" {% if multipart %}enctype="multipart/form-data"{% endif %} class="pure-form {% if aligned %}pure-form-aligned{% else %}pure-form-stacked{% endif %}">
{% csrf_token %}
{% if form.non_field_errors %}
{{ form.non_field_errors }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment