-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure only necessary fields are used for auth, text updates
- Loading branch information
1 parent
bccea84
commit db71e05
Showing
4 changed files
with
53 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 26 additions & 29 deletions
55
src/js/widgets/user_settings/templates/change_password.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
<div class="panel panel-default s-form-container"> | ||
<legend class="panel-heading"> Change Your Password | ||
</legend> | ||
<form class="panel-body"> | ||
<div class="form-group has-feedback"> | ||
<label for="old_password" class="control-label"> Current password </label> | ||
<span class="help-block no-show s-help-block"></span> | ||
<input type="password" class="form-control" name="old_password" id="old_password"> | ||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="new_password1" class="control-label"> New password </label> | ||
<span class="help-block no-show s-help-block"></span> | ||
<div class="s-user-help">Passwords should be at least five characters and include at least one number and one letter.</div> | ||
<input type="password" class="form-control" name="new_password1" id="new_password1" > | ||
|
||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="new_password2" class="control-label"> Retype new password </label> | ||
<span class="help-block no-show s-help-block"></span> | ||
<input type="password" class="form-control" name="new_password2" id="new_password2"> | ||
|
||
</div> | ||
|
||
|
||
<div class="form-group"> | ||
<button type="submit" class="btn btn-primary-faded">Submit</button> | ||
<span class="help-block no-show s-help-block"></span> | ||
</div> | ||
</form> | ||
</div> | ||
<legend class="panel-heading"> Change Your Password</legend> | ||
<form class="panel-body"> | ||
<div class="form-group has-feedback"> | ||
<label for="old_password" class="control-label"> Current password </label> | ||
<span class="help-block no-show s-help-block"></span> | ||
<input type="password" class="form-control" name="old_password" id="old_password"> | ||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="new_password1" class="control-label"> New password </label> | ||
<span class="help-block no-show s-help-block"></span> | ||
<div class="s-user-help">Passwords should be at least eight characters and include at least one number and one | ||
capital letter. | ||
</div> | ||
<input type="password" class="form-control" name="new_password1" id="new_password1"> | ||
</div> | ||
<div class="form-group has-feedback"> | ||
<label for="new_password2" class="control-label"> Retype new password </label> | ||
<span class="help-block no-show s-help-block"></span> | ||
<input type="password" class="form-control" name="new_password2" id="new_password2"> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-primary-faded">Submit</button> | ||
<span class="help-block no-show s-help-block"></span> | ||
</div> | ||
</form> | ||
</div> |