2016-05-30 18:24:07 -07:00
|
|
|
= columns(medium: 12) do
|
2017-01-09 21:37:05 -08:00
|
|
|
%p=_'articles.conference_registration.paragraphs.Contact_Info', :s, 2
|
|
|
|
= form_tag register_path(@this_conference.slug) do
|
|
|
|
= textfield :name, @name, required: true, heading: 'articles.conference_registration.headings.name', big: true
|
2017-01-09 22:43:39 -08:00
|
|
|
= textfield :location, (params[:location] || location(@registration.city ||lookup_ip_location)), required: true, heading: 'articles.conference_registration.headings.location'
|
2017-01-09 21:37:05 -08:00
|
|
|
= checkboxes :languages, User.AVAILABLE_LANGUAGES, (current_user.languages || [I18n.locale]).map(&:to_sym), 'languages', heading: 'articles.conference_registration.headings.languages'
|
|
|
|
.actions.next-prev
|
2017-04-09 11:37:16 -07:00
|
|
|
= button (params[:step] == :save ? :save : :next), value: :contact_info
|
|
|
|
= button :previous, value: :prev_contact_info, class: :subdued, formnovalidate: true
|