Commit bf0b2f57 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider

add edit button to group offer show

parent 9c098ef2
Pipeline #37559 failed with stage
in 16 minutes and 11 seconds
......@@ -13,3 +13,5 @@ ul.list-inline
li= button_link icon_span(:terminate),
initiate_termination_group_offer_path(@group_offer), title: 'Beenden',
data: { confirm: 'Gruppenangebot wirklich beenden?'}
- if policy(@group_offer).edit?
li= button_link icon_span(:edit), edit_group_offer_path(@group_offer), title: t_action(:edit)
Markdown is supported
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