Sha256: 2e87161afdda130e41592c8b80bbe59717f6db14a5ef6145ce626947f4121da3

Contents?: true

Size: 1.63 KB

Versions: 6

Compression:

Stored size: 1.63 KB

Contents

- if HackathonManager.field_enabled?(:why_attend)
  %p
    %b Why #{Rails.configuration.hackathon['name']}?
  %p= @questionnaire.why_attend
%p
  %b Experience:
  = Questionnaire::POSSIBLE_EXPERIENCES[@questionnaire.experience]
%p
  %b Portfolio link:
  = @questionnaire.portfolio_url? ? link_to(@questionnaire.portfolio_url, @questionnaire.portfolio_url, target: '_blank') : 'Not provided'
%p
  %b GitHub/BitBucket link:
  = @questionnaire.vcs_url? ? link_to(@questionnaire.vcs_url, @questionnaire.vcs_url, target: '_blank') : 'Not provided'
%p
  %b Resume:
  = @questionnaire.resume? ? link_to("Download »".html_safe, @questionnaire.resume.url) : 'Not provided'
%p
  %b Traveling from:
  = @questionnaire.travel_not_from_school ? "Somewhere else (#{@questionnaire.travel_location})" : "My school (#{@questionnaire.school.full_name})"

%fieldset
  - if @questionnaire.user.provider == 'mlh'
    %legend Provided by My MLH
  %p
    %b First name:
    = @questionnaire.first_name
  %p
    %b Last name:
    = @questionnaire.last_name
  %p
    %b Email:
    = @questionnaire.email
  %p
    %b Phone:
    = @questionnaire.phone
  %p
    %b Date of birth:
    = @questionnaire.date_of_birth_formatted
  %p
    %b Gender:
    = @questionnaire.gender
  %p
    %b School:
    = @questionnaire.school.full_name
  %p
    %b Major:
    = @questionnaire.major
  %p
    %b Level of study:
    = @questionnaire.level_of_study
  %p
    %b Shirt size:
    = @questionnaire.shirt_size
  %p
    %b Dietary restrictions
    = @questionnaire.dietary_restrictions || "<i>(none)</i>".html_safe
  %p
    %b Special needs
    = @questionnaire.special_needs || "<i>(none)</i>".html_safe

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hackathon_manager-0.5.8 app/views/application/_questionnaire_summary.html.haml
hackathon_manager-0.5.7 app/views/application/_questionnaire_summary.html.haml
hackathon_manager-0.5.6 app/views/application/_questionnaire_summary.html.haml
hackathon_manager-0.5.5 app/views/application/_questionnaire_summary.html.haml
hackathon_manager-0.5.4 app/views/application/_questionnaire_summary.html.haml
hackathon_manager-0.5.3 app/views/application/_questionnaire_summary.html.haml