% form_for @user do |f| %>
<%= 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 %>
<%= 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 %>