<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later # Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> <!-- partial start: nonprofits/_actions --> <aside class='u-marginBottom--15'> <% if current_nonprofit_user? %> <button class='button--jumbo u-width--full' open-modal='newCampaign' if-branded='background-color, dark'> Start a Campaign </button> <% else %> <a class='button u-width--full' if-branded='background-color, dark' target='_blank' href='/peer-to-peer?npo_id=<%=@nonprofit.id %>'> Start a Campaign for <%= @nonprofit.name %> </a> <% end %> </button> <% if current_nonprofit_user? %> <button class='button--jumbo u-width--full' open-modal='newEvent' data-when-confirmed if-branded='background-color, dark'> Create an Event </button> <% end %> </aside> <!-- partial end: nonprofits/_actions -->