2020-06-12 20:03:43 +00:00
|
|
|
<%- # 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 -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<!-- settings/miscellaneous -->
|
|
|
|
|
|
|
|
<% is_donate_again_set = !@miscellaneous_np_info.nil? && !@miscellaneous_np_info.donate_again_url.nil? && !@miscellaneous_np_info.donate_again_url.empty? %>
|
|
|
|
<header class='pane-header'>
|
|
|
|
<h3>Miscellaneous Settings (beta)</h3>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class='pane-inner'>
|
|
|
|
<p class='pastelBox--yellow u-padding--10 u-marginBottom--30'>
|
|
|
|
Our Recurring Donation Management Form includes a link from which donors can make a one-time additional donation. By default, this link goes to
|
2020-06-10 22:31:47 +00:00
|
|
|
your nonprofit's page on <%= Houdini.general.name %> (<small><strong><%= url_for(:controller => 'nonprofits', :action => :show, :id=> @nonprofit.id, :only_path => false ) %></strong></small>).
|
2018-03-25 17:30:42 +00:00
|
|
|
Alternatively, you can link to a page on your website.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<form autosubmit class='u-marginBottom--10' data-reload method='put' action='/nonprofits/<%= @nonprofit.id %>/miscellaneous_np_info.json'>
|
|
|
|
<fieldset>
|
|
|
|
<label for="donate_again_url_field">Donate Again URL (leave empty for default)</label><input value="<%= @miscellaneous_np_info.donate_again_url %>" name="miscellaneous_np_info[donate_again_url]" id="donate_again_url_field"></input>
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
|
|
|
|
<div class='u-marginTop--15'>
|
|
|
|
<p class='error'></p>
|
|
|
|
<button type='submit' class='button u-marginTop--10' data-loading='Saving...'>
|
|
|
|
Save</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|