houdini/app/views/nonprofits/supporters/_new_modal.html.erb

19 lines
499 B
Text
Raw Normal View History

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<div class='modal' id='newSupporterModal'>
<%= render 'common/modal_header', title: 'New Supporter' %>
<section class='modal-body'>
<form class='supporterForm'>
<!--= on 'submit' (ajax_supporter.create form_object) -->
<%= render 'supporters/form_blank', require_name: true %>
<%= render 'components/forms/submit_button', scope: 'supporter_details' %>
</form>
</section>
</div>