Godwin
8 years ago
3 changed files with 10 additions and 10 deletions
@ -1,9 +1,9 @@ |
|||
= columns(medium: 12) do |
|||
%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 |
|||
= textfield :location, (params[:location] || @registration.city || location(lookup_ip_location)), required: true, heading: 'articles.conference_registration.headings.location' |
|||
= checkboxes :languages, User.AVAILABLE_LANGUAGES, current_user.languages || [I18n.locale], 'languages', heading: 'articles.conference_registration.headings.languages' |
|||
.actions.next-prev |
|||
= button_tag (params[:step] == :save ? :save : :next), value: :contact_info |
|||
= button_tag :previous, value: :prev_contact_info, class: :subdued, formnovalidate: true |
|||
%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 |
|||
= textfield :location, (params[:location] || @registration.city || location(lookup_ip_location)), required: true, heading: 'articles.conference_registration.headings.location' |
|||
= checkboxes :languages, User.AVAILABLE_LANGUAGES, (current_user.languages || [I18n.locale]).map(&:to_sym), 'languages', heading: 'articles.conference_registration.headings.languages' |
|||
.actions.next-prev |
|||
= button_tag (params[:step] == :save ? :save : :next), value: :contact_info |
|||
= button_tag :previous, value: :prev_contact_info, class: :subdued, formnovalidate: true |
|||
|
Loading…
Reference in new issue