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:
parent
47398c6a70
commit
461dfa8531
19 changed files with 242 additions and 94 deletions
|
|
@ -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%;">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue