mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
9 lines
434 B
Text
9 lines
434 B
Text
= semantic_form_for [:admin, @user] do |f|
|
|
= f.inputs 'Basic Information' do
|
|
= f.input :is_admin, hint: 'An admin can create a new conference, manage users and make other users admins.'
|
|
= f.input :name, :as => :string
|
|
= f.input :email
|
|
= f.input :affiliation, :as => :string
|
|
= f.input :biography, :input_html => {:rows => 10}
|
|
= f.actions do
|
|
= f.action :submit, :button_html => {:class => "btn btn-primary"}
|