diff options
Diffstat (limited to 'app/views/person/change_pass.rhtml')
-rw-r--r-- | app/views/person/change_pass.rhtml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/person/change_pass.rhtml b/app/views/person/change_pass.rhtml new file mode 100644 index 0000000..f1d62fa --- /dev/null +++ b/app/views/person/change_pass.rhtml @@ -0,0 +1,22 @@ +<%= render :partial => "person/nav" %> +<h1>Passwort aendern</h1> + +<%= form_tag :action => "do_change_pass", :id => @person.id %> +<table> + <tr> + <td>altes Passwort:</td> + <td><%= password_field_tag 'oldpassword' %></td> + </tr> + <tr> + <td>neues Passwort:</td> + <td><%= password_field_tag 'password' %></td> + </tr> + <tr> + <td>nochmals:</td> + <td><%= password_field_tag 'password2' %></td> + </tr> +</table> + +<%= submit_tag 'Change' %> +<%= end_form_tag %> + |