From f42b7eae57a9401094fee433dbbbfc13ed0b6ea9 Mon Sep 17 00:00:00 2001 From: differentreality Date: Fri, 12 Jul 2013 09:10:33 +0300 Subject: [PATCH] add nick and affiliation --- app/views/admin/users/new.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/admin/users/new.html.haml b/app/views/admin/users/new.html.haml index 0fae3385..cddf0c1c 100644 --- a/app/views/admin/users/new.html.haml +++ b/app/views/admin/users/new.html.haml @@ -12,5 +12,9 @@ = f.fields_for :people do |p| = p.input :first_name = p.input :last_name + = p.label :Nickname + = p.text_field :irc_nickname + = p.label :Affiliation + = p.text_field :company, :placeholder => "Company/User Group/nothing" = f.input :conferences, :as => :check_boxes, :label => true, :collection => @conferences = f.action :submit, :button_html => { :value => "Create", :class => "btn btn-primary"}