Commit 99b895742ac44a99fcb69057937d94f23b71a7f7
1 parent
a8fe8322
Exists in
master
and in
5 other branches
user pofile and edit profile user teacher #12
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
users/templates/users/edit_profile.html
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | <a href="{% url 'users:profile' %}" class="list-group-item"> |
16 | 16 | {% trans 'Profile' %} |
17 | 17 | </a> |
18 | - <a href="{% url 'users:edit_profile' %}" class="list-group-item active"> | |
18 | + <a href="{% url 'users:edit_profile' user.id %}" class="list-group-item active"> | |
19 | 19 | {% trans 'Edit Profile' %} |
20 | 20 | </a> |
21 | 21 | </div> | ... | ... |
users/templates/users/profile.html
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | <a href="{% url 'users:profile' %}" class="list-group-item active"> |
16 | 16 | {% trans 'Profile' %} |
17 | 17 | </a> |
18 | - <a href="{% url 'users:edit_profile' %}" class="list-group-item"> | |
18 | + <a href="{% url 'users:edit_profile' user.id %}" class="list-group-item"> | |
19 | 19 | {% trans 'Edit Profile' %} |
20 | 20 | </a> |
21 | 21 | </div> | ... | ... |