name swap
This commit is contained in:
parent
a531e15735
commit
1d55e6edb0
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@
|
|||
readonly: true,
|
||||
data: { size: 'small', on_color: 'success', off_color: 'warning', on_text: 'Yes', off_text: 'No' }
|
||||
= 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 :username, :as => :string if @user.new_record?
|
||||
= f.input :username, label: "First Name", :as => :string if @user.new_record?
|
||||
= f.input :name, label: "Last Name", as: :string
|
||||
= f.input :email
|
||||
= f.input :password if @user.new_record?
|
||||
= f.input :affiliation, as: :string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue