@@ -18,36 +18,33 @@ <h2 class="h3">Registration</h2>
1818 < input autofocus ="off " class ="form-control " id ="username " name ="username " :placeholder ="Username " type ="text " >
1919 < div class ="error "> {{ form.username.errors }}</ div >
2020 </ div >
21-
2221 < div class ="form-group ">
23-
2422 < label for ="password1 "> {{ form.password1.label_tag }}</ label >
25- < input autofocus ="off " class ="form-control " id ="password1 " name ="password1 "
26- :placeholder ="Password " type ="password " style ="padding-left: 20px; ">
23+ < input autofocus ="off "
24+ class ="form-control "
25+ id ="password1 "
26+ name ="password1 "
27+ placeholder ="{% if form.password1.help_text %}{{ form.password1.help_text|safe }}{% endif %} "
28+ type ="password ">
2729 < div class ="error "> {{ form.password1.errors }}</ div >
28- {% if form.password1.help_text %}
29- < div class ="help "> {{ form.password1.help_text|safe }}</ div >
30- {% endif %}
3130 </ div >
3231
3332 < div class ="form-group ">
3433 < label for ="password2 "> {{ form.password2.label_tag }}</ label >
35- < input autofocus ="off " class ="form-control " id ="password2 " name ="password2 "
36- :placeholder ="Confirm Password " type ="password " style ="padding-left: 20px; ">
34+ < input autofocus ="off "
35+ class ="form-control " id ="password2 " name ="password2 "
36+ placeholder ="{% if form.password2.help_text %}{{ form.password2.help_text|safe }}{% endif %} "
37+ type ="password ">
3738 < div class ="error "> {{ form.password2.errors }}</ div >
38- {% if form.password2.help_text %}
39- < div class ="help "> {{ form.password2.help_text|safe }}</ div >
40- {% endif %}
4139 </ div >
4240
4341 < div class ="form-group ">
4442 < label for ="email "> {{ form.email.label_tag }}</ label >
4543 < input autofocus ="off " class ="form-control " id ="email " name ="email "
46- :placeholder ="Email " type ="email " style =" padding-left: 20px; " >
44+ :placeholder ="Email " type ="email ">
4745 < div class ="error "> {{ form.email.errors }}</ div >
48-
4946 </ div >
50- < button class ="btn btn-primary btn-lg btn-block " name =" commit " type ="submit "> Submit</ button >
47+ < button class ="btn btn-primary btn-lg btn-block " id =" submit " type ="submit "> Submit</ button >
5148
5249 </ form >
5350 </ div >
0 commit comments