<%= form_for @user, :html => {:class => 'well'} do |f| %>
  <%= f.label :username %>
  <%= f.text_field :username, :disabled => true %> 

  <%= f.label :email %>
  <%= f.text_field :email, :disabled => true %>
<% end %>
<%= form_for @user, :html => {:class => 'well'} do |f| %>
  <%= f.label :username %>
  <%= f.text_field :username %> 

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

  <%= f.label :current_password %>
  <%= f.password_field :current_password %>

  <%= f.label :password %>
  <%= f.password_field :password %> 

  <%= f.label :password_confirmation %>
  <%= f.password_field :password_confirmation %> 

  <%= f.submit 'Save Profile', :class => 'pull-right btn btn-primary' %>
<% end %>
Modify form to include passwords and form actions
Modify form to include passwords and form actions
