mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 09:11:28 +02:00
email notifications management
This commit is contained in:
parent
be8ad1a888
commit
8a0e121f29
4 changed files with 69 additions and 1 deletions
|
@ -9,4 +9,43 @@
|
|||
<div>
|
||||
<input class="btn-Action" type="submit" value="Change Email">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<h2>Email Notification Settings</h2>
|
||||
<form method="POST" action="/settings/change_email_notification">
|
||||
<%== csrf_token_input_html %>
|
||||
|
||||
<p>
|
||||
Receive Emails:
|
||||
<input name="send_emails" type="hidden" value="false">
|
||||
<input name="send_emails" type="checkbox" value="true"
|
||||
<% if current_site.owner.send_emails %>
|
||||
checked
|
||||
<% end %>
|
||||
>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Receive Comment Emails:
|
||||
<input name="send_comment_emails" type="hidden" value="false">
|
||||
<input name="send_comment_emails" type="checkbox" value="true"
|
||||
<% if current_site.owner.send_comment_emails %>
|
||||
checked
|
||||
<% end %>
|
||||
>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Receive Follow Emails:
|
||||
<input name="send_follow_emails" type="hidden" value="false">
|
||||
<input name="send_follow_emails" type="checkbox" value="true"
|
||||
<% if current_site.owner.send_follow_emails %>
|
||||
checked
|
||||
<% end %>
|
||||
>
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<input class="btn-Action" type="submit" value="Update Notification Settings">
|
||||
</div>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue