-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change user password implemented. Closing #15.
- Loading branch information
1 parent
b745604
commit 9488407
Showing
11 changed files
with
150 additions
and
46 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
<div class="modal fade" id="changePasswordModal" tabindex="-1" aria-labelledby="changePasswordModalLabel" aria-hidden="true"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<form method="POST" | ||
id="change-password" | ||
action="{{ baseUrl}}/change-password" | ||
> | ||
|
||
<div class="modal-header"> | ||
<h1 class="modal-title fs-5" id="changePasswordModalLabel">Change Password</h1> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<div class="modal-body"> | ||
<form> | ||
<div class="mb-3"> | ||
<label for="recipient-name" class="col-form-label">Recipient:</label> | ||
<input type="text" class="form-control" id="recipient-name"> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="message-text" class="col-form-label">Message:</label> | ||
<textarea class="form-control" id="message-text"></textarea> | ||
</div> | ||
</form> | ||
<input name="email" id="username" value="{{ user.email }}" autocomplete="username" style="display: none;"> | ||
|
||
<div class="mb-3"> | ||
<label for="password" class="col-form-label">New password:</label> | ||
<input name="newPassword" type="password" class="form-control" id="password" required | ||
autocomplete="new-password" | ||
> | ||
</div> | ||
|
||
<div class="mb-3"> | ||
<label for="password1" class="col-form-label">Retype new password:</label> | ||
<input name="newPasswordConfirmation" type="password" class="form-control" id="password1" autocomplete="off" required> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> | ||
<button type="button" class="btn btn-primary">Send message</button> | ||
<button type="submit" class="btn btn-primary">Change password</button> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.