Email Notification Settings

<%= form_for(@user) do |f| %>
<%= f.check_box :email_newsletter %> <%= f.label :email_newsletter, "Send me weekly newsletter emails" %>
<%= f.check_box :email_digest_periodic %> <%= f.label :email_digest_periodic, "Send me a periodic digest of top posts from my tags" %>
<% if current_user.a_sustaining_member? %>
<%= f.check_box :email_membership_newsletter %> <%= f.label :email_membership_newsletter, "Send me sustaining membership newsletter emails" %>
<% end %> <% if current_user.tag_moderator? %>
<%= f.check_box :email_tag_mod_newsletter %> <%= f.label :email_tag_mod_newsletter, "Send me tag moderator newsletter emails" %>
<% end %> <% if current_user.has_role?(:trusted) %>
<%= f.check_box :email_community_mod_newsletter %> <%= f.label :email_community_mod_newsletter, "Send me community moderator newsletter emails" %>
<% end %>
<%= f.check_box :email_comment_notifications %> <%= f.label :email_comment_notifications, "Send me an email when someone replies to me in a comment thread" %>
<%= f.check_box :email_follower_notifications %> <%= f.label :email_follower_notifications, "Send me an email when someone new follows me" %>
<%= f.check_box :email_mention_notifications %> <%= f.label :email_mention_notifications, "Send me an email when someone mentions me" %>
<%= f.check_box :email_badge_notifications %> <%= f.label :email_badge_notifications, "Send me an email when I receive a badge" %>
<%= f.check_box :email_connect_messages %> <%= f.label :email_connect_messages, "Send me an email when I receive a direct message (while inactive)" %>
<%= f.check_box :email_unread_notifications %> <%= f.label :email_unread_notifications, "Send me occasional reminders that I have unread notifications on dev.to" %>

Mobile Notification Settings (Beta)

iOS only for now. Additional settings and platforms will be rolled out as new notification features are made available.

<%= f.check_box :mobile_comment_notifications %> <%= f.label :mobile_comment_notifications, "Notify me when someone replies to me in a comment thread" %>
<% if current_user.trusted %>

Mod Notification Settings

<%= f.check_box :mod_roundrobin_notifications %> <%= f.label :mod_roundrobin_notifications, "Send me occasional community-success mod notifications" %>
<% end %>
<%= f.hidden_field :tab, value: @tab %> <%= f.submit "SUBMIT", class: "cta" %>
<% end %>