Skip to content

Commit 6b61527

Browse files
committed
fixed auth pages
1 parent 12ee303 commit 6b61527

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Application/templates/auth/change-password.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block content %}
44
<h1>Change Password</h1>
55
<div class="col-md-6 col-md-push-3 well well-lg top-buffer-lg">
6-
<form id="changePasswordForm" class="form form-change-password" method="POST" action="" role="form">
6+
<form id="changePasswordForm" class="form form-change-password" method="POST" action="/auth/change-password/" role="form">
77
{{ form.hidden_tag() }}
88
<div class="form-group">
99
{{form.old.label}}

Application/templates/auth/user-add.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block content %}
44
<h1>Create User</h1>
55
<div class="col-md-6 col-md-push-3 well well-lg top-buffer-lg">
6-
<form id="createUserForm" class="form form-create-user" method="POST" action="" role="form">
6+
<form id="createUserForm" class="form form-create-user" method="POST" action="/auth/users/add" role="form">
77
{{ form.hidden_tag() }}
88
<div class="form-group">
99
{{form.username.label}}
@@ -29,4 +29,3 @@ <h1>Create User</h1>
2929
</form>
3030
</div>
3131
{% endblock %}
32-

Application/templates/auth/user-edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block content %}
44
<h1>Edit User</h1>
55
<div class="col-md-6 col-md-push-3 well well-lg top-buffer-lg" style="padding-left: 10px; padding-right: 10px;">
6-
<form id="editUserForm" class="form form-edit-user" method="POST" action="" role="form">
6+
<form id="editUserForm" class="form form-edit-user" method="POST" action="/auth/users/{{ user.id }}" role="form">
77
{{ form.hidden_tag() }}
88
<div class="col-xs-12">
99
<div class="form-group">

0 commit comments

Comments
 (0)