Sha256: 2f81d7e44e8f639dc69d956d8d66a06130e0254d32c845e4ed2c3153015b95a0

Contents?: true

Size: 847 Bytes

Versions: 34

Compression:

Stored size: 847 Bytes

Contents

- if current_user.present?
  .account-nav
    .account-nav__wrapper
      .account-nav__links
        = active_link_to 'Account', edit_user_registration_path, class: 'account-nav__link', active_class: 'account-nav__link--active'
        - if current_user.questionnaire.present? && current_user.questionnaire.can_rsvp?
          = active_link_to 'RSVP', rsvp_path, class: 'account-nav__link', active_class: 'account-nav__link--active'
        = active_link_to 'Application', questionnaires_path, class: 'account-nav__link', active_class: 'account-nav__link--active'
        - if current_user.questionnaire.present? && current_user.questionnaire.eligible_for_a_bus? && current_user.questionnaire.is_bus_captain?
          = active_link_to 'Bus Captain'.html_safe, bus_list_path, class: 'account-nav__link', active_class: 'account-nav__link--active'

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
hackathon_manager-0.11.2 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.11.1 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.11.0 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.10.3 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.10.2 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.10.1 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.10.0 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.9.2 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.9.1 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.9.0 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.8.2 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.8.1 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.8.0 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.7.1 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.7.0 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.6.6 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.6.5 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.6.4 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.6.3 app/views/layouts/hackathon_manager/_account_nav.html.haml
hackathon_manager-0.6.2 app/views/layouts/hackathon_manager/_account_nav.html.haml