comparison gpp/templates/downloads/add.html @ 194:6a5549c2efb5

Implement #62, add support for CSRF protection.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Apr 2010 20:00:56 +0000
parents c515b7401078
children 27bee3ac85e6
comparison
equal deleted inserted replaced
193:fa7d82bfb100 194:6a5549c2efb5
28 <li>The owners of SurfGuitar101 are absolved of any liability claims resulting from the use of or hosting of your file.</li> 28 <li>The owners of SurfGuitar101 are absolved of any liability claims resulting from the use of or hosting of your file.</li>
29 <li>You acknowledge you have permission to upload and distribute the file.</li> 29 <li>You acknowledge you have permission to upload and distribute the file.</li>
30 <li>The file may be removed at any time at the discretion of the staff of SurfGuitar101.</li> 30 <li>The file may be removed at any time at the discretion of the staff of SurfGuitar101.</li>
31 </ol> 31 </ol>
32 32
33 <form action="." method="post" enctype="multipart/form-data" id="downloads-add"> 33 <form action="." method="post" enctype="multipart/form-data" id="downloads-add">{% csrf_token %}
34 <fieldset> 34 <fieldset>
35 <legend>Upload Form</legend> 35 <legend>Upload Form</legend>
36 <table> 36 <table>
37 {{ add_form.as_table }} 37 {{ add_form.as_table }}
38 <tr> 38 <tr>