Skip to content

Commit

Permalink
Add gender to the admin user modification form
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulou committed Mar 16, 2013
1 parent 601e3ab commit c33d4ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/admin/users/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
= f.input :email
= f.input :first_name
= f.input :last_name
= f.input :promotion, selected: @user.promotion.id, collection: Promotion.all
= f.input :gender, collection: %w(M F)
= f.input :promotion, selected: @user.promotion_id, collection: Promotion.all
.form-actions
= f.submit class: 'btn btn-primary'

0 comments on commit c33d4ad

Please sign in to comment.