diff options
author | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
---|---|---|
committer | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
commit | b6ca062670b342344df08b53fb216db619ef42bc (patch) | |
tree | 7680ac6b407239f6b7272c937e42f688b8de542c /app/views/person/change_pass.rhtml |
Import legacy manman source
Copied from www.ffgraz.net
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 %> + |