Commit 995bcc2b authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou
Browse files

remove back button

parent 4b1421a1
......@@ -27,7 +27,7 @@ nav.navbar.section-navigation
li = button_link t('.report_hours'), new_volunteer_hour_url(@volunteer)
li = button_link t('.hour_reports'), volunteer_hours_path(@volunteer)
li= button_link current_user.volunteer? ? t('edit_profile') : t_title(:edit), edit_volunteer_path(@volunteer)
li= form_navigation_btn :back, with_row: false
li= form_navigation_btn :back, with_row: false unless current_user.volunteer?
- if policy(Volunteer).can_manage?
h3= t('checklist')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment