<% form_for @user do |f| %>
Basic

<%= f.label :email %> <%= f.text_field :email %>

<%= f.label :receive_email_notifications, "Email notifications" %> <%= f.check_box :receive_email_notifications %>

<%= f.label :comment_threshold %> <%= f.text_field :comment_threshold, :size => 2 %>

<%= f.label :always_resize_images %> <%= f.check_box :always_resize_images %>

<%= f.label :default_image_size %> <%= f.select :default_image_size, %w(Medium Large Original) %>

<%= f.label :favorite_tags %> <%= f.text_area :favorite_tags, :rows => 5 %>

<%= f.label :blacklisted_tags %> <%= f.text_area :blacklisted_tags, :rows => 5 %>

SpecialFor security purposes, changing the following settings requires you to re-enter your password. You can leave the new password field blank to keep your current one.

<%= f.label :name %> <%= f.text_field :name %>

<%= f.label :password, "New password" %> <%= f.text_field :password %>

<%= f.label :old_password %> <%= f.text_field :old_password %>

<%= submit_tag "Submit" %> <% end %> <% content_for(:page_title) do %> /<%= @user.name %>/Settings <% end %> <% content_for(:page_header) do %> / <%= @user.name %> / Settings <% end %>