2014-06-23 19:07:50 +03:00
|
|
|
= semantic_form_for [:admin, @user] do |f|
|
2014-08-12 11:51:59 +03:00
|
|
|
= f.inputs 'Basic Information' do
|
|
|
|
|
= f.input :is_admin, hint: 'An admin can create a new conference, manage users and make other users admins.'
|
2014-06-23 19:07:50 +03:00
|
|
|
= f.input :name, :as => :string
|
|
|
|
|
= f.input :email
|
2014-08-12 15:48:29 +03:00
|
|
|
= f.input :affiliation, :as => :string
|
2016-08-09 00:20:18 +02:00
|
|
|
= f.input :biography, input_html: { rows: 10, data: { provide: 'markdown-editable' } },
|
|
|
|
|
hint: markdown_hint
|
2014-08-12 15:59:22 +03:00
|
|
|
= f.actions do
|
|
|
|
|
= f.action :submit, :button_html => {:class => "btn btn-primary"}
|