Account Settings
<%= form_for @edit_user, :url => settings_url, :method => :post do |f| %>
<%= error_messages_for f.object %>
<%= f.label :username, "Username:", :class => "required" %>
<%= f.text_field :username, :size => 15 %>
[A-Za-z0-9][A-Za-z0-9_-]*
<%= f.label :password, "New Password:", :class => "required" %>
<%= f.password_field :password, :size => 40 %>
<%= f.label :password_confirmation, "Confirm Password:",
:class => "required" %>
<%= f.password_field :password_confirmation, :size => 40 %>
<%= f.label :email, "E-mail Address:", :class => "required" %>
<%= f.text_field :email, :size => 40 %>
Gravatar'ized
<%= f.label :pushover_user_key,
raw("
Pushover User Key:"),
:class => "required" %>
<%= f.text_field :pushover_user_key, :size => 40 %>
<%= f.label :pushover_device, "Pushover Device:",
:class => "required" %>
<%= f.text_field :pushover_device, :placeholder => "optional",
:size => 15 %>
<%= f.label :about, "About:", :class => "required" %>
<%= f.text_area :about, :size => "100x5", :style => "width: 600px;" %>
Markdown formatting available
<%= render :partial => "global/markdownhelp" %>
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 user key entered 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 user key entered 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_replies %>
Requires user key entered above
<%= f.submit "Save All Settings" %>
<% end %>
Invite a New User
<%= form_tag "/invitations", :method => :post do |f| %>
Invitations are used as a spam-control mechanism and are unlimited.
Persons you invite will be associated with your account in the user tree and you may be responsible for them if they cause
problems. Please use your discretion when inviting persons you don't
personally know.
<%= label_tag :email, "E-mail Address:", :class => "required" %>
<%= text_field_tag :email, "", :size => 30 %>
<%= label_tag :memo, "Memo to User:", :class => "required" %>
<%= text_field_tag :memo, "", :size => 60 %>
<%= submit_tag "Send Invitation" %>
<% end %>