File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818def index (request ):
1919 """Index page view"""
2020
21- if request .method == 'POST' :
22- return signup (request )
23-
24-
2521 latest_threads = Thread .objects .all ()[:6 ]
2622 hottest_threads = Thread .highest_score .from_haystack ()[:6 ]
2723
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ <h1 style="font-size:50px;">Comunidades Interlegis</h1>
1010 < p > < a href ="/wiki/ComoUsarColab " style ="color:#fff "> Saiba mais...</ a > </ p >
1111 </ div >
1212 < div class ="col-md-4 hidden-xs hidden-sm ">
13- < form action =". " method ="POST " role ="form ">
13+ < form action ="{% url 'signup' %} " method ="POST " role ="form ">
1414 {% csrf_token %}
1515 < div class ="form-group ">
1616 < input id ="{{ user_form.first_name.id_for_label }} " class ="form-control " name ="{{ user_form.first_name.html_name }} " maxlength ="{{ user_form.first_name.field.max_length }} " type ="text " placeholder ="Nome ">
You can’t perform that action at this time.
0 commit comments