Commit a18da658 authored by Zsolt Benke's avatar Zsolt Benke

Change confirmation message

parent 7641f978
Pipeline #19346 passed with stage
in 30 minutes and 53 seconds
......@@ -31,7 +31,7 @@
- if group_assignment.period_end.blank?
= link_to_if(policy(group_assignment).set_end_today?, 'Heute beenden',
set_end_today_group_assignment_path(group_assignment, redirect_to: request.fullpath),
data: { confirm: 'Wollen Sie die Begleitung wirklich beenden?', method: 'PUT' }) { '' }
data: { confirm: 'Wollen Sie den Gruppeneinsatz wirklich beenden?', method: 'PUT' }) { '' }
- elsif group_assignment.termination_submitted_by_id.blank?
= link_to_if(policy(group_assignment).terminate?, 'Beendigungsformular an Freiwillige/n mailen',
polymorphic_path([group_assignment, ReminderMailing], action: :new_termination),
......
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