Commit 4b268da3 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

Merge branch 'include_imported_volunteer_account_invite_into_edit_view' into 'develop'

Include imported volunteer account invite into edit view

See merge request !616
parents 872f361d 3670c30e
Pipeline #18768 passed with stage
in 43 minutes and 53 seconds
- if policy(Volunteer).superadmin_privileges?
- if @volunteer.import.present?
= render 'import_account_invite', volunteer: @volunteer
= simple_form_for(@volunteer) do |f|
h1= @volunteer.full_name
= render 'buttons'
......@@ -24,7 +29,6 @@
- if policy(Event).show? && @volunteer_events.present?
= render 'events/volunteer_events', events: @volunteer_events
- if current_user.volunteer?
= f.button :submit, t('update_profile')
- else
......
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