@@ -9,7 +9,7 @@ block content
99 .form-group.row
1010 label.col-md-3.col-form-label.font-weight-bold.text-right ( for ='email' ) Email
1111 .col-md-7
12- input.form-control ( type ='email' , name = 'email' , id ='email' , value =user .email , autocomplete ='email' , required )
12+ input#email .form-control ( type ='email' , name ='email' , value =user .email , autocomplete ='email' , required )
1313 .offset-sm-3.col-md-7.pl-3.mb-2
1414 if user .emailVerified
1515 .text-success.font-italic
@@ -21,33 +21,33 @@ block content
2121 .form-group.row
2222 label.col-md-3.col-form-label.font-weight-bold.text-right ( for ='name' ) Name
2323 .col-md-7.mt-2
24- input.form-control ( type ='text' , name = 'name' , id ='name' , value =user .profile .name , autocomplete ='name' )
24+ input#name .form-control ( type ='text' , name ='name' , value =user .profile .name , autocomplete ='name' )
2525 .form-group.row
2626 label.col-md-3.col-form-label.font-weight-bold.text-right Gender
2727 .col-sm-6.mt-2
2828 .form-check.form-check-inline
29- input( type ='radio' , class = 'form-check-input' checked =user .profile .gender == 'male' , name ='gender' , value ='male' , data-toggle ='radio' )
29+ input.form-check-input ( type ='radio' , checked =user .profile .gender == 'male' , name ='gender' , value ='male' , data-toggle ='radio' )
3030 label.form-check-label Male
3131
3232 .form-check.form-check-inline
33- input( type ='radio' , class = 'form-check-input' checked =user .profile .gender == 'female' , name ='gender' , value ='female' , data-toggle ='radio' )
33+ input.form-check-input ( type ='radio' , checked =user .profile .gender == 'female' , name ='gender' , value ='female' , data-toggle ='radio' )
3434 label.form-check-label Female
3535
3636 .form-check.form-check-inline
37- input( type ='radio' , class = 'form-check-input' checked =user .profile .gender == 'other' , name ='gender' , value ='other' , data-toggle ='radio' )
37+ input.form-check-input ( type ='radio' , checked =user .profile .gender == 'other' , name ='gender' , value ='other' , data-toggle ='radio' )
3838 label.form-check-label Other
3939 .form-group.row
4040 label.col-md-3.col-form-label.font-weight-bold.text-right ( for ='location' ) Location
4141 .col-md-7.mb-2
42- input.form-control ( type ='text' , name = 'location' , id ='location' , value =user .profile .location , autocomplete )
42+ input#location .form-control ( type ='text' , name ='location' , value =user .profile .location , autocomplete )
4343 .form-group.row
4444 label.col-md-3.col-form-label.font-weight-bold.text-right ( for ='website' ) Website
4545 .col-md-7.mb-2
46- input.form-control ( type ='text' , name = 'website' , id ='website' , value =user .profile .website , autocomplete ='url' )
46+ input#website .form-control ( type ='text' , name ='website' , value =user .profile .website , autocomplete ='url' )
4747 .form-group.row
4848 label.col-md-3.col-form-label.font-weight-bold.text-right Profile Picture
4949 .col-sm-4.mb-2
50- img( src =( user .profile .picture ? user .profile .picture : user .gravatar ()), class = 'profile' , width ='100' , height ='100' )
50+ img.profile ( src =user .profile .picture ? user .profile .picture : user .gravatar (), width ='100' , height ='100' )
5151 .form-group
5252 .offset-sm-3.col-md-7.pl-2
5353 button.btn.btn.btn-primary ( type ='submit' )
@@ -62,11 +62,11 @@ block content
6262 .form-group.row
6363 label.col-md-3.col-form-label.font-weight-bold.text-right ( for ='password' ) New Password
6464 .col-md-7.mb-2
65- input.form-control ( type ='password' , name = 'password' , id ='password' , autocomplete ='new-password' , minlength ='8' , required )
65+ input#password .form-control ( type ='password' , name ='password' , autocomplete ='new-password' , minlength ='8' , required )
6666 .form-group.row
6767 label.col-md-3.col-form-label.font-weight-bold.text-right ( for ='confirmPassword' ) Confirm Password
6868 .col-md-7.mb-2
69- input.form-control ( type ='password' , name = 'confirmPassword' , id ='confirmPassword' , autocomplete ='new-password' , minlength ='8' , required )
69+ input#confirmPassword .form-control ( type ='password' , name ='confirmPassword' , autocomplete ='new-password' , minlength ='8' , required )
7070 .form-group
7171 .offset-sm-3.col-md-7.pl-2
7272 button.btn.btn-primary ( type ='submit' )
@@ -89,7 +89,7 @@ block content
8989 .pb-2.mt-2.mb-4.border-bottom
9090 h3 Delete Account
9191
92- form( action ='/account/delete' , method ='POST' , onsubmit =" return confirm('Are you sure you want to delete your account?');" )
92+ form( action ='/account/delete' , method ='POST' , onsubmit =' return confirm(\ ' Are you sure you want to delete your account?\ ' );' )
9393 .form-group
9494 p.offset-sm-3.col-md-7.pl-2 You can delete your account, but keep in mind this action is irreversible.
9595 input( type ='hidden' , name ='_csrf' , value =_csrf)
0 commit comments