mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
as string
This commit is contained in:
parent
8f34baecf6
commit
79ba3c5ea6
2 changed files with 11 additions and 11 deletions
|
|
@ -10,12 +10,12 @@
|
|||
|
||||
= f.inputs "Personal Information" do
|
||||
= f.fields_for :person do |p|
|
||||
= p.input :first_name
|
||||
= p.input :last_name
|
||||
= p.label :Nickname
|
||||
= p.text_field :irc_nickname
|
||||
= p.input :first_name, :as => :string
|
||||
= p.input :last_name, :as => :string
|
||||
= p.label :Nickname, :as => :string
|
||||
= p.text_field :irc_nickname, :as => :string
|
||||
= p.label :Affiliation
|
||||
= p.text_field :company, :placeholder => "Company/User Group/nothing"
|
||||
= p.text_field :company, :placeholder => "Company/User Group/nothing", :as => :string
|
||||
|
||||
= f.inputs "Registration Information" do
|
||||
- if @conference.use_supporter_levels?
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@
|
|||
|
||||
= f.inputs "Your details" do
|
||||
= f.fields_for :user do |u|
|
||||
= u.input :email, :hint => "Please enter a valid email address. You will need it to log in to OSEM later."
|
||||
= u.input :email, :as => :string, :hint => "Please enter a valid email address. You will need it to log in to OSEM later."
|
||||
= f.fields_for @person do |p|
|
||||
= p.input :first_name
|
||||
= p.input :last_name
|
||||
= p.input :public_name
|
||||
= p.input :first_name, :as => :string
|
||||
= p.input :last_name, :as => :string
|
||||
= p.input :public_name, :as => :string
|
||||
= p.label :Nickname
|
||||
= p.text_field :irc_nickname
|
||||
= p.text_field :irc_nickname, :as => :string
|
||||
= p.label :Affiliation
|
||||
= p.text_field :company, :placeholder => "Company/User Group/nothing"
|
||||
= p.text_field :company, :placeholder => "Company/User Group/nothing", :as => :string
|
||||
|
||||
= f.inputs "Registration Information" do
|
||||
- if @conference.use_supporter_levels?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue