22adb4d5fd
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later with some specific files to be licensed under the one of two licenses: CC0-1.0 LGPL-3.0-or-later This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
14 lines
838 B
Text
14 lines
838 B
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<div class='modal' id='customThankYouModal'>
|
|
<%= render 'common/modal_header', title: 'Edit donation thank-you note' %>
|
|
<div class='modal-body'>
|
|
<p class='pastelBox--yellow u-marginBottom--20 u-padding--10' >You can add a custom thank-you note that gets added to the top of all donation email receipts.</p>
|
|
<form>
|
|
<!--= on 'submit' update_custom_receipt -->
|
|
<div class='editable editable--email u-marginBottom--20' data-path='/nonprofits/<%= @nonprofit.id %>.json' data-key='nonprofit[thank_you_note]'>
|
|
<%= raw @nonprofit.thank_you_note || "Thank you for your contribution!" %>
|
|
</div>
|
|
<%= render 'components/forms/submit_button', scope: 'receipt' %>
|
|
</form>
|
|
</div>
|
|
</div>
|