Moved users into new admin-namespace and made the controller restful. Also moved some logic from the controller into the user-model (dry it up..).

This commit is contained in:
Benjamin Meichsner 2009-01-12 18:26:09 +01:00
parent 47398c6a70
commit 461dfa8531
19 changed files with 242 additions and 94 deletions

View file

@ -29,12 +29,12 @@
<td/>
</tr>
<tr>
<td><label for="user[password]">Neues Passwort</label></td>
<td><%= password_field_tag "user[password]" %></td>
<td><label for="user_password_entry">Neues Passwort</label></td>
<td><%= password_field_tag "user", "password_entry" %></td>
</tr>
<tr>
<td><label for="user[password_confirmation]">Passwort wiederholen</label></td>
<td><%= password_field_tag "user[password_confirmation]" %></td>
<td><label for="user_password_entry_confirmation">Passwort wiederholen</label></td>
<td><%= password_field_tag "user", "password_entry_confirmation" %></td>
</tr>
</table>
<table style="float:right;width:45%;">