View Profile
Account Settings
<%= form_for @edit_user, :url => settings_path, :method => :post, :html => { :id => "edit_user" } do |f| %> <%= error_messages_for f.object %>
<%= f.label :username, "Username:", :class => "required" %> <%= f.text_field :username, :size => 15 %> <%= User.username_regex %>
<%= f.label :password, "New Password:", :class => "required" %> <%= f.password_field :password, :size => 40, :autocomplete => "off" %>
<%= f.label :password_confirmation, "Confirm Password:", :class => "required" %> <%= f.password_field :password_confirmation, :size => 40, :autocomplete => "off" %>
<%= f.label :email, "E-mail Address:", :class => "required" %> <%= f.text_field :email, :size => 40 %> Gravatar'ized
<%= f.label :about, "About:", :class => "required" %> <%= f.text_area :about, :size => "100x5", :style => "width: 600px;" %>
Markdown formatting available
<%= render :partial => "global/markdownhelp" %>

<%= f.submit "Save Account Settings" %>


Notification Settings
<%= f.label :pushover_user_key, raw("Pushover:"), :class => "required" %> <%= link_to((f.object.pushover_user_key.present?? "Manage Pushover Subscription" : "Subscribe With Pushover"), "/settings/pushover", :class => "pushover_button", :method => :post) %> For optional comment and message notifications below

Comment Reply Notification Settings
<%= f.label :email_replies, "Receive E-mail:", :class => "required" %> <%= f.check_box :email_replies %>
<%= f.label :pushover_replies, "Receive Pushover Alert:", :class => "required" %> <%= f.check_box :pushover_replies %> Requires Pushover subscription above

Comment Mention Notification Settings
<%= f.label :email_mentions, "Receive E-mail:", :class => "required" %> <%= f.check_box :email_mentions %>
<%= f.label :pushover_mentions, "Receive Pushover Alert:", :class => "required" %> <%= f.check_box :pushover_mentions %> Requires Pushover subscription above

Private Message Notification Settings
<%= f.label :email_messages, "Receive E-mail:", :class => "required" %> <%= f.check_box :email_messages %>
<%= f.label :pushover_messages, "Receive Pushover Alert:", :class => "required" %> <%= f.check_box :pushover_messages %> Requires Pushover subscription above

Submitted Story Comment Settings
<%= f.label :show_submitted_story_threads, raw("Show in Your Threads:"), :class => "required" %> <%= f.check_box :show_submitted_story_threads %>

Mailing List Settings

When enabled, you will receive all newly submitted stories and comments to your e-mail address entered above, except the stories and comments filtered by your tag filters. All e-mail messages will appear to be sent to your private list address shown below which you can filter on, and e-mails you send to that address will be posted under your account on this website. You should keep your unique list address private to prevent others from posting comments as you.

<%= f.label :mailing_list_mode, "Receive List E-mails:", :class => "required" %> <%= f.select :mailing_list_mode, [ [ "No e-mails", 0 ], [ "All stories and comments", 1 ], [ "Only stories", 2 ] ] %>
<%= Rails.application.shortname %>-<%= @edit_user.mailing_list_token %>@<%= Rails.application.domain %>

Miscellaneous Settings
<%= f.label :show_story_previews, "Show Story Previews:", :class => "required" %> <%= f.check_box :show_story_previews %>
<%= f.label :show_avatars, "Show User Avatars:", :class => "required" %> <%= f.check_box :show_avatars %>

<%= f.submit "Save All Settings" %> <% end %>

Invite a New User
<% if @user.can_invite? %> <%= render :partial => "users/invitationform" %> <% else %> You cannot send invitations. <% end %>

<%= form_for @edit_user, :url => delete_account_path, :method => :post, :html => { :id => "delete_user" } do |f| %>
Delete Account

To permanently delete your account, verify your current password below. Your account will be put into a deleted state, your comments will be marked as deleted and no longer readable by any other users, and your private messages will be deleted. Your submitted stories will not be deleted. Your username will remain reserved and will not be available to be used on any other account.

<%= f.label :password, "Verify Password:", :class => "required" %> <%= f.password_field :password, :size => 40, :autocomplete => "off" %>

<%= f.submit "Yes, Delete My Account" %> <% end %>