BigW Consortium Gitlab
- if can_see_request_access_button?(source) - if requester = source.requesters.find_by(user_id: current_user.id) = link_to 'Withdraw Access Request', polymorphic_path([:leave, source, :members]), method: :delete, data: { confirm: remove_member_message(requester) }, class: 'btn'
- else = link_to 'Request Access', polymorphic_path([:request_access, source, :members]), method: :post,
class: 'btn'