Admin/users refactored.

This commit is contained in:
benni 2011-06-09 22:03:27 +02:00
parent ea6348bc5c
commit a787b3cf24
10 changed files with 100 additions and 99 deletions

View file

@ -4,10 +4,8 @@
.box_title
%h2 Neue Benutzerin
.column_content#userForm
- form_for([:admin, @user]) do |@form|
= render :partial => 'shared/user_form'
%p{:style => "clear:both" }
= submit_tag "Speichern"
|
= link_to('Abbrechen', admin_users_path )
- simple_form_for([:admin, @user]) do |f|
= render :partial => 'shared/user_form_fields', :locals => {:f => f}
= f.submit
= link_to 'oder abbrechen', admin_users_path
%p= link_to 'Benutzerinnenübersicht', admin_users_path