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

17 lines
402 B
Text

<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>