Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edited template for edited account page and registration page
- Loading branch information
1 parent
ff44599
commit 4c294c8
Showing
4 changed files
with
32 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% extends "panel/base.html" %} | ||
|
||
{% block content %} | ||
<h2>Password change</h2> | ||
|
||
<p>Password changed! Now you can continue to contribute!</p> | ||
<div class="clear"></div> | ||
<div class="clear"></div> | ||
<div class="clear"></div> | ||
{% endblock %} |
24 changes: 19 additions & 5 deletions
24
startdust_website/templates/registration/password_change_form.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,5 +1,19 @@ | ||
<form method="post" action=""> | ||
{% csrf_token %} | ||
{{ form.as_p }} | ||
<p><input type="submit" value="Alterar" /></p> | ||
</form> | ||
{% extends "panel/base.html" %} | ||
|
||
{% block form %} | ||
<link rel="stylesheet" href="/static/css/form.css" type="text/css" /> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h2>Password change</h2> | ||
<div class="form"> | ||
<form method="post" action=""> | ||
{% csrf_token %} | ||
{{ form.as_p }} | ||
<p><input type="submit" value="Alterar" /></p> | ||
</form> | ||
</div> | ||
<div class="clear"></div> | ||
<div class="clear"></div> | ||
<div class="clear"></div> | ||
{% endblock %} |
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