houdini/app/views/settings/_privacy.html.erb

21 lines
1 KiB
Text
Raw Normal View History

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 -%>
<header class='pane-header'>
<h3>Privacy Settings</h3>
</header>
<div class='pane-inner'>
<form autosubmit action='<%= profile_path(@user.profile) %>' method='put' data-reload>
<p class='pastelBox--yellow u-padding--10 u-marginBottom--20'>To make all your donations and other donor activity private, check the option below.</p>
<input type='hidden' name='profile[anonymous]' value='false'>
<input type='checkbox' name='profile[anonymous]' <%= @user.profile.anonymous ? 'checked=checked' : '' %> id='profile-anon-input'>
<label class='profile-anon-label' for='profile-anon-input'>Make my profile anonymous.</label>
<div>
</div>
<p class='error'></p>
<button type='submit' class='button u-marginTop--5' data-loading='Updating...'>Update Privacy Settings</button>
</form>
<p class='note u-marginTop--10'>Note: we don't directly share your individual donation amounts.</p>
</div>