<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>public/stylesheets/application.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/ie.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/plugins/fancy-type/readme.txt</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/plugins/fancy-type/screen.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/print.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/screen.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/src/forms.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/src/grid.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/src/grid.png</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/src/ie.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/src/print.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/src/reset.css</filename>
    </added>
    <added>
      <filename>public/stylesheets/blueprint/src/typography.css</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -51,7 +51,7 @@ The application has been configured to use a Google gmail account to send confir
 Configure email by modifying
 
 	config/initializers/mail.rb
-	config/config.yml (_or create_ &quot;config/config.local.yml&quot;)
+	config/config.yml (or create &quot;config/config.local.yml&quot;)
 		
 ## Set Up the Database
 
@@ -129,9 +129,7 @@ To run the RSpec examples:
 	
 ## To Do
 
-* Style with Blueprint CSS
 * Add RSpec examples and stories to cover &quot;Bells and Whistles&quot; features
-* Add a &quot;change password&quot; feature for a user
 * Change &quot;login&quot; to use email addresses instead
 
 ## Done
@@ -161,6 +159,8 @@ To run the RSpec examples:
 	* Added views
 * Tagged step-3
 * Added Eugene Bolshakov's AppConfig plugin
+* Added Blueprint CSS framework
+* Modified views and CSS to apply design elements
 
 ## Documentation and Support
 
@@ -169,7 +169,8 @@ The forum discussion [Restful Authentication With All the Bells and Whistles](ht
 Here are useful blog postings:
 
 * [How to Install RESTful Authentication on a Ruby on Rails 2.1 Application](http://crazyrails.com/how-to-install-restful-authentication/).
-* [How to Set Up Restful Authentication and acts_as_state_machine With Rails 2.1](http://fakingfantastic.com/2008/08/05/how-to-set-up-restful-authentication-and-acts_as_state_machine-with-rails-21/).
+* Frank Lakatos's [How to Set Up Restful Authentication and acts_as_state_machine With Rails 2.1](http://fakingfantastic.com/2008/08/05/how-to-set-up-restful-authentication-and-acts_as_state_machine-with-rails-21/).
+* Dan Engle's [My Take on Enhancing restful_authentication](http://morebs.com/2008/02/20/my-take-on-restful_authentication/).
 
 This application is provided without additional documentation or support.
 
@@ -178,6 +179,7 @@ This application is provided without additional documentation or support.
 * Rick Olson (and contributors) for the Restful Authentication Generator plugin
 * &quot;activefx&quot; for &quot;Restful Authentication With All the Bells and Whistles&quot;
 * Scott Barron for the &quot;acts as state machine&quot; plugin
+* Graphic design derived from [Bruno Bornsztein's CommunityEngine](http://www.missingmethod.com/)
 	
 ## License
 </diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -32,7 +32,7 @@ class UsersController &lt; ApplicationController
             redirect_back_or_default('/')
       flash[:notice] = &quot;Thanks for signing up!  We're sending you an email with your activation code.&quot;
     else
-      flash[:error]  = &quot;We couldn't set up that account, sorry.  Please try again, or contact an admin (link is above).&quot;
+      flash[:error]  = &quot;Please check for errors.&quot;
       render :action =&gt; 'new'
     end
   end</diff>
      <filename>app/controllers/users_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -75,5 +75,8 @@ class User &lt; ActiveRecord::Base
         self.activation_code = self.class.make_token
     end
 
+    def make_password_reset_code
+    self.password_reset_code = Digest::SHA1.hexdigest( Time.now.to_s.split(//).sort_by {rand}.join )
+    end
 
 end</diff>
      <filename>app/models/user.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 class UserMailer &lt; ActionMailer::Base
   def signup_notification(user)
     setup_email(user)
-    @subject    += 'Please activate your new account'
+    @subject     = 'Please activate your new account'
   
     @body[:url]  = &quot;#{Conf.site_url}activate/#{user.activation_code}&quot;
   
@@ -9,19 +9,19 @@ class UserMailer &lt; ActionMailer::Base
   
   def activation(user)
     setup_email(user)
-    @subject    += 'Your account has been activated!'
+    @subject     = 'Your account has been activated!'
     @body[:url]  = &quot;#{Conf.site_url}&quot;
   end
 
   def forgot_password(user)
     setup_email(user)
-    @subject    += 'You have requested to change your password'
+    @subject     = 'You have requested to change your password'
     @body[:url]  = &quot;#{Conf.site_url}reset_password/#{user.password_reset_code}&quot;
   end
 
   def reset_password(user)
     setup_email(user)
-    @subject    += 'Your password has been reset.'
+    @subject     = 'Your password has been reset.'
   end
 
   def message_to_admin(subject,body)
@@ -30,7 +30,7 @@ class UserMailer &lt; ActionMailer::Base
     @from        = @admin.email
     @subject     = &quot;#{Conf.site_name}&quot;
     @sent_on     = Time.now
-    @subject    += subject
+    @subject     = subject
     @body[:body]  = body
   end
   </diff>
      <filename>app/models/user_mailer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,29 +7,68 @@
   &lt;%= controller.controller_name -%&gt;:
   &lt;%= controller.action_name -%&gt;
  &lt;/title&gt;
+ &lt;%= stylesheet_link_tag 'blueprint/screen', :media =&gt; 'screen, projection' %&gt;
+ &lt;%= stylesheet_link_tag 'blueprint/print', :media =&gt; 'print' %&gt;
+ &lt;%= stylesheet_link_tag 'application' %&gt;
+ &lt;!--[if IE]&gt;&lt;%= stylesheet_link_tag 'blueprint/ie', :media =&gt; 'screen, projection' %&gt;&lt;![endif]--&gt;
+&lt;%= yield :head %&gt;
 &lt;/head&gt;
 &lt;body&gt;
-    &lt;ul&gt;
-    &lt;% if logged_in? %&gt;
-    &lt;li&gt;Logged in as:&lt;/li&gt;
-    &lt;li&gt;&lt;%= link_to h(current_user.login.capitalize), user_path(current_user) %&gt;&lt;/li&gt;
-    &lt;ul&gt;
-    &lt;li&gt;&lt;%= link_to 'Edit Profile', edit_user_path(current_user) %&gt;&lt;/li&gt;
-    &lt;li&gt;&lt;%= link_to 'Log Out', logout_url %&gt;&lt;/li&gt;
-    &lt;/ul&gt;
-    &lt;% if current_user.has_role?('administrator') %&gt;
-    &lt;li&gt;&lt;%= link_to 'Administer Users', users_path %&gt;&lt;/li&gt;
-    &lt;% end %&gt;
-    &lt;% else %&gt;
-    &lt;li&gt;&lt;%= link_to 'Log In', new_session_path %&gt;&lt;/li&gt;
-    &lt;li&gt;&lt;%= link_to 'Sign Up', new_user_path %&gt;&lt;/li&gt;
-    &lt;li&gt;&lt;%= link_to 'Forgot Password?', forgot_password_path %&gt;&lt;/li&gt;
-    &lt;% end %&gt;
-    &lt;/ul&gt;
-	  &lt;div id=&quot;flashes&quot;&gt;
-	    &lt;div id=&quot;errors&quot; class=&quot;error&quot; style=&quot;display:none&quot;&gt;&lt;%= flash[:error] %&gt;&lt;/div&gt;
-	    &lt;div id=&quot;notice&quot; class=&quot;notice&quot; style=&quot;display:none&quot;&gt;&lt;%= flash[:notice] %&gt;&lt;/div&gt;
-	  &lt;/div&gt;
-    &lt;%= yield %&gt;
-&lt;/body&gt;
+	&lt;div class=&quot;container&quot;&gt;
+		&lt;div id='container_hd'&gt;
+		  &lt;div id='hd'&gt;
+		    &lt;h1&gt;
+				&lt;a href=&quot;/&quot;&gt;&lt;%= Conf.site_name -%&gt;&lt;/a&gt;
+			&lt;/h1&gt;
+		    &lt;h2&gt;
+		    	&lt;% if logged_in? %&gt;
+					Logged in as:
+					&lt;%= link_to h(current_user.login.capitalize), user_path(current_user) %&gt;
+					&lt;%= link_to 'Log Out', logout_url %&gt;
+				&lt;% else %&gt;
+					Welcome! 
+					&lt;%= link_to 'Log In', new_session_path %&gt; 
+					or 
+					&lt;%= link_to 'Sign Up', new_user_path %&gt;
+				&lt;% end %&gt;
+		    &lt;/h2&gt;
+		  &lt;/div&gt;
+		&lt;/div&gt;
+		&lt;div id='container_bd'&gt;
+		  &lt;div id='main'&gt;
+			  &lt;div id=&quot;flashes&quot;&gt;
+				&lt;% names = [:notice, :error, :warning, :message, :success] %&gt;
+				&lt;% for name in names %&gt;
+				  &lt;% if flash[name] %&gt;
+				    &lt;%= &quot;&lt;div id=\&quot;#{name}\&quot; class=\&quot;#{name}\&quot;&gt;#{flash[name]}&lt;/div&gt;&quot; %&gt;
+				  &lt;% end %&gt;
+				&lt;% end %&gt;
+			  &lt;/div&gt;
+		    &lt;%= yield :layout %&gt;
+		  &lt;/div&gt;
+		  &lt;div id='sidebar'&gt;
+		      &lt;%= yield :sidebar %&gt;
+		  &lt;/div&gt;
+		&lt;/div&gt;
+		&lt;div id='container_ft'&gt;
+		  &lt;div id='ft'&gt;
+		    &lt;ul&gt;
+				&lt;li&gt;&lt;%= link_to 'Home', root_url %&gt;&lt;/li&gt;
+			    &lt;% if logged_in? %&gt;
+				    &lt;li&gt;&lt;%= link_to 'Profile', user_path(current_user) %&gt;&lt;/li&gt;
+				    &lt;li&gt;&lt;%= link_to 'Edit Profile', edit_user_path(current_user) %&gt;&lt;/li&gt;
+				    &lt;% if current_user.has_role?('administrator') %&gt;
+				    	&lt;li&gt;&lt;%= link_to 'All Users', users_path %&gt;&lt;/li&gt;
+			    	&lt;% end %&gt;
+					&lt;li&gt;&lt;%= link_to 'Log Out', logout_url %&gt;&lt;/li&gt;
+			    &lt;% else %&gt;
+				    &lt;li&gt;&lt;%= link_to 'Log In', new_session_path %&gt;&lt;/li&gt;
+				    &lt;li&gt;&lt;%= link_to 'Sign Up', new_user_path %&gt;&lt;/li&gt;
+				    &lt;li&gt;&lt;%= link_to 'Forgot Password?', forgot_password_path %&gt;&lt;/li&gt;
+			    &lt;% end %&gt;
+		    &lt;/ul&gt;
+		  &lt;/div&gt;
+		&lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>app/views/layouts/application.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,27 @@
-&lt;% form_tag password_path, :method =&gt; :put do %&gt;
-&lt;%= hidden_field_tag :id, params[:id] %&gt;
-Password:&lt;br /&gt;
-&lt;%= password_field_tag :password %&gt;&lt;br /&gt;
-Confirm Password:&lt;br /&gt;
-&lt;%= password_field_tag :password_confirmation %&gt;&lt;br /&gt;
-&lt;%= submit_tag &quot;Reset Your Password&quot; %&gt;
-&lt;% end %&gt;
-&lt;script type='text/javascript'&gt;
-document.getElementById('password').focus()
-&lt;/script&gt;
+&lt;h3&gt;Create a New Password&lt;/h3&gt;
+
+&lt;% form_tag( password_path, {:method =&gt; :put, :class =&gt; 'MainForm'}) do -%&gt;
+	&lt;%= hidden_field_tag :id, params[:id] %&gt;
+	
+	&lt;%= label_tag 'password', 'Type a new password:'  %&gt;
+	&lt;%= password_field_tag :password %&gt;
+
+	&lt;%= label_tag 'password_confirmation', 'Re-type the new password to confirm:' %&gt;
+	&lt;%= password_field_tag :password_confirmation %&gt;
+
+	&lt;p&gt;&lt;%= submit_tag 'Create my new password' %&gt;&lt;/p&gt;
+&lt;% end -%&gt;
+
+
+&lt;% content_for(:sidebar) do %&gt;
+	&lt;div class=&quot;box&quot;&gt;
+		&lt;h3&gt;Help&lt;/h3&gt;
+		&lt;p&gt; We've deleted your old password. Please create a new password. &lt;/p&gt;
+	&lt;/div&gt;
+&lt;% end -%&gt;
+
+&lt;% content_for(:head) do %&gt;
+	&lt;script type='text/javascript'&gt;
+	  document.getElementById('password').focus()
+	&lt;/script&gt;
+&lt;% end -%&gt;
\ No newline at end of file</diff>
      <filename>app/views/passwords/edit.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,35 @@
-&lt;h2&gt;Forgot Password&lt;/h2&gt;
-&lt;% form_tag url_for(:action =&gt; 'create') do %&gt;
-What is the email address used to create your account?&lt;br /&gt;
-&lt;%= text_field_tag :email, &quot;&quot;, :size =&gt; 50 %&gt;&lt;br /&gt;
-&lt;%= submit_tag 'Reset Password' %&gt;
-&lt;% end %&gt;
-&lt;script type='text/javascript'&gt;
-document.getElementById('email').focus()
-&lt;/script&gt;
+&lt;h3&gt;Forgot Your Password?&lt;/h3&gt;
+
+&lt;% form_tag(url_for(:action =&gt; :create), {:class =&gt; 'MainForm'}) do -%&gt;
+
+	&lt;%= label_tag 'email', &quot;Enter your email address&quot; %&gt;
+	&lt;%= text_field_tag :email %&gt;
+
+	&lt;p&gt;&lt;%= submit_tag 'Reset my password' %&gt;&lt;/p&gt;
+&lt;% end -%&gt;
+
+
+&lt;% content_for(:sidebar) do %&gt;
+	&lt;div class=&quot;box&quot;&gt;
+		&lt;h3&gt;Help&lt;/h3&gt;
+		&lt;p&gt;
+		Don't have an account?
+		&lt;br/&gt;
+		&lt;%= link_to '&#187; Click here to sign up', new_user_path %&gt;
+		&lt;/p&gt;
+	&lt;/div&gt;
+	&lt;div class=&quot;box alt&quot;&gt;
+		&lt;h3&gt;Tips&lt;/h3&gt;
+		&lt;p&gt; If you've forgotten your password, 
+			we'll send you an email that contains an activation link. &lt;/p&gt;
+		&lt;p&gt; Click the activation link in the e-mail to 
+			confirm your address and go to a page where you
+			can create a new password. &lt;/p&gt;
+	&lt;/div&gt;
+&lt;% end -%&gt;
+
+&lt;% content_for(:head) do %&gt;
+	&lt;script type='text/javascript'&gt;
+	  document.getElementById('email').focus()
+	&lt;/script&gt;
+&lt;% end -%&gt;
\ No newline at end of file</diff>
      <filename>app/views/passwords/new.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
-&lt;h2&gt;Roles for &lt;%=h @user.login.capitalize %&gt;&lt;/h2&gt;
+&lt;h3&gt;Roles for User &quot;&lt;%=h @user.login%&gt;&quot;&lt;/h3&gt;
 
-&lt;h3&gt;Roles assigned:&lt;/h3&gt;
+&lt;h4&gt;Roles assigned:&lt;/h4&gt;
 &lt;ul&gt;&lt;%= render :partial =&gt; 'role', :collection =&gt; @user.roles %&gt;&lt;/ul&gt;
 
-&lt;h3&gt;Roles available:&lt;/h3&gt;
+&lt;h4&gt;Roles available:&lt;/h4&gt;
 &lt;ul&gt;&lt;%= render :partial =&gt; 'role', :collection =&gt; (@all_roles - @user.roles) %&gt;&lt;/ul&gt;</diff>
      <filename>app/views/roles/index.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,17 +1,38 @@
-&lt;h1&gt;Log In&lt;/h1&gt;
+&lt;h3&gt;Log in&lt;/h3&gt;
 
-&lt;% form_tag session_path do -%&gt;
-&lt;p&gt;&lt;%= label_tag 'login' %&gt;&lt;br /&gt;
-&lt;%= text_field_tag 'login', @login %&gt;&lt;/p&gt;
+&lt;% form_tag(session_path, {:class =&gt; 'MainForm'}) do -%&gt;
 
-&lt;p&gt;&lt;%= label_tag 'password' %&gt;&lt;br/&gt;
-&lt;%= password_field_tag 'password', nil %&gt;&lt;/p&gt;
+	&lt;%= label_tag 'login' %&gt;
+	&lt;%= text_field_tag 'login', @login %&gt;
 
-&lt;p&gt;&lt;%= label_tag 'remember_me', 'Remember me' %&gt;
-&lt;%= check_box_tag 'remember_me', '1', @remember_me %&gt;&lt;/p&gt;
+	&lt;%= label_tag 'password' %&gt;
+	&lt;%= password_field_tag 'password', nil %&gt;
 
-&lt;p&gt;&lt;%= submit_tag 'Log in' %&gt;&lt;/p&gt;
+	&lt;fieldset&gt;
+	&lt;%= check_box_tag 'remember_me', '1', @remember_me %&gt; Remember me
+	&lt;/fieldset&gt;
+
+	&lt;p&gt;&lt;%= submit_tag 'Log in' %&gt;&lt;/p&gt;
+&lt;% end -%&gt;
+
+&lt;% content_for(:sidebar) do %&gt;
+	&lt;div class=&quot;box&quot;&gt;
+		&lt;h3&gt;Help&lt;/h3&gt;
+		&lt;p&gt;
+		Don't have an account?
+		&lt;br/&gt;
+		&lt;%= link_to '&#187; Click here to sign up', new_user_path %&gt;
+		&lt;/p&gt;
+		&lt;p&gt;
+		Forgot your password?
+		&lt;br/&gt;
+		&lt;%= link_to '&#187; Click here to retrieve it', forgot_password_path %&gt;
+		&lt;/p&gt;
+	&lt;/div&gt;
 &lt;% end -%&gt;
-&lt;script type='text/javascript'&gt;
-  document.getElementById('login').focus()
-&lt;/script&gt;
\ No newline at end of file
+
+&lt;% content_for(:head) do %&gt;
+	&lt;script type='text/javascript'&gt;
+	  document.getElementById('login').focus()
+	&lt;/script&gt;
+&lt;% end -%&gt;
\ No newline at end of file</diff>
      <filename>app/views/sessions/new.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -3,11 +3,12 @@
 &lt;td&gt;&lt;%=h user.email %&gt;&lt;/td&gt;
 &lt;td&gt;&lt;%= user.state %&gt;
 &lt;% unless user == current_user %&gt;
-[&lt;% if user.enabled %&gt;
-&lt;%= link_to('disable', suspend_user_path(user.id), :method =&gt; :put) %&gt;
-&lt;% else %&gt;
-&lt;%= link_to('enable', unsuspend_user_path(user.id), :method =&gt; :put) %&gt;
-&lt;% end %&gt;]
+	&lt;% if user.state == 'active' %&gt;
+		&lt;%= link_to('suspend', suspend_user_path(user.id), :method =&gt; :put) %&gt;
+	&lt;% end %&gt;
+	&lt;% if user.state == 'suspended' %&gt;
+		&lt;%= link_to('unsuspend', unsuspend_user_path(user.id), :method =&gt; :put) %&gt;
+	&lt;% end %&gt;
 &lt;% end %&gt;
 &lt;/td&gt;
 &lt;td&gt;[ &lt;%= link_to 'edit roles', user_roles_path(user) %&gt; ]&lt;/td&gt;</diff>
      <filename>app/views/users/_user.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,29 @@
-&lt;h2&gt;Edit Your Account&lt;/h2&gt;
-&lt;p&gt;&lt;%= link_to 'Show Profile', user_path(@user) %&gt; | 
-&lt;%= link_to 'Change Password', change_password_path %&gt;
-&lt;/p&gt;
+&lt;% if @user == current_user %&gt;
+	&lt;h3&gt;Edit Your Profile&lt;/h3&gt;
+&lt;% else %&gt;
+	&lt;h3&gt;Edit User's Profile&lt;/h3&gt;
+&lt;% end %&gt;
+
 &lt;%= error_messages_for :user %&gt;
 
-&lt;% form_for :user, :url =&gt; user_url(@user), :html =&gt; { :method =&gt; :put } do |f| %&gt;
-&lt;p&gt;Email:&lt;br /&gt;&lt;%= f.text_field :email, :size =&gt; 60 %&gt;&lt;/p&gt;
+&lt;% form_for :user, :url =&gt; user_url(@user), :html =&gt; { :method =&gt; :put, :class =&gt; 'MainForm' } do |f| %&gt;
+	&lt;%= hidden_field_tag :id, params[:id] %&gt;
+	
+	&lt;%= label_tag 'email', 'Email address:'  %&gt;
+	&lt;%= f.text_field :email, :size =&gt; 60 %&gt;
 
-&lt;%= submit_tag 'Save' %&gt;
-&lt;% end %&gt;
-&lt;script type='text/javascript'&gt;
-document.getElementById('user_email').focus()
-&lt;/script&gt;
+	&lt;p&gt;&lt;%= submit_tag 'Save' %&gt;&lt;/p&gt;
+&lt;% end -%&gt;
+
+&lt;% content_for(:sidebar) do %&gt;
+	&lt;div class=&quot;box&quot;&gt;
+		&lt;h3&gt;Help&lt;/h3&gt;
+		&lt;p&gt; You can change your email address here. &lt;/p&gt;
+	&lt;/div&gt;
+&lt;% end -%&gt;
+
+&lt;% content_for(:head) do %&gt;
+	&lt;script type='text/javascript'&gt;
+	  document.getElementById('user_email').focus()
+	&lt;/script&gt;
+&lt;% end -%&gt;</diff>
      <filename>app/views/users/edit.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,11 @@
-&lt;h2&gt;All Users&lt;/h2&gt;
+&lt;h3&gt;All Users&lt;/h3&gt;
 &lt;table&gt;
 &lt;tr&gt;
 &lt;th&gt;Username&lt;/th&gt;
 &lt;th&gt;Email&lt;/th&gt;
-&lt;th&gt;Enabled?&lt;/th&gt;
+&lt;th&gt;Status&lt;/th&gt;
 &lt;th&gt;Roles&lt;/th&gt;
+&lt;th&gt;Profile&lt;/th&gt;
 &lt;/tr&gt;
 &lt;%= render :partial =&gt; 'user', :collection =&gt; @users %&gt;
 &lt;/table&gt;</diff>
      <filename>app/views/users/index.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,22 +1,45 @@
-&lt;h1&gt;Sign up as a new user&lt;/h1&gt;
-&lt;% @user.password = @user.password_confirmation = nil %&gt;
+&lt;h3&gt;Sign up!&lt;/h3&gt;
 
+&lt;% @user.password = @user.password_confirmation = nil %&gt;
 &lt;%= error_messages_for :user %&gt;
-&lt;% form_for :user, :url =&gt; users_path do |f| -%&gt;
-&lt;p&gt;&lt;%= label_tag 'login' %&gt;&lt;br/&gt;
-&lt;%= f.text_field :login %&gt;&lt;/p&gt;
 
-&lt;p&gt;&lt;%= label_tag 'email' %&gt;&lt;br/&gt;
-&lt;%= f.text_field :email %&gt;&lt;/p&gt;
+&lt;% form_for :user, :url =&gt; users_path, :html =&gt; { :class =&gt; 'MainForm' } do |f| -%&gt;
+
+	&lt;%= label_tag 'login', 'Username' %&gt;
+	&lt;%= f.text_field :login %&gt;
+
+	&lt;%= label_tag 'email', &quot;Email address&quot; %&gt;
+	&lt;%= f.text_field :email %&gt;
 
-&lt;p&gt;&lt;%= label_tag 'password' %&gt;&lt;br/&gt;
-&lt;%= f.password_field :password %&gt;&lt;/p&gt;
+	&lt;%= label_tag 'password', 'Type your password:'  %&gt;
+	&lt;%= f.password_field :password %&gt;
 
-&lt;p&gt;&lt;%= label_tag 'password_confirmation', 'Confirm Password' %&gt;&lt;br/&gt;
-&lt;%= f.password_field :password_confirmation %&gt;&lt;/p&gt;
+	&lt;%= label_tag 'password_confirmation', 'Re-type your password to confirm:' %&gt;
+	&lt;%= f.password_field :password_confirmation %&gt;
 
-&lt;p&gt;&lt;%= submit_tag 'Sign up' %&gt;&lt;/p&gt;
+	&lt;p&gt;&lt;%= submit_tag 'Sign up' %&gt;&lt;/p&gt;
 &lt;% end -%&gt;
-&lt;script type='text/javascript'&gt;
-document.getElementById('user_login').focus()
-&lt;/script&gt;
\ No newline at end of file
+
+
+&lt;% content_for(:sidebar) do %&gt;
+	&lt;div class=&quot;box&quot;&gt;
+		&lt;h3&gt; Why Sign up? &lt;/h3&gt;
+		&lt;ul class=&quot;list checks&quot;&gt;
+		&lt;li&gt;You'll have access to all the features&lt;/li&gt;
+		&lt;/ul&gt;
+	&lt;/div&gt;
+	&lt;div class=&quot;box alt&quot;&gt;
+		&lt;h3&gt;Tips&lt;/h3&gt;
+		&lt;p&gt; After signing up, you'll receive an e-mail confirmation message. &lt;/p&gt;
+		&lt;p&gt; Click the activation link in the e-mail to log in. &lt;/p&gt;
+		&lt;p&gt;
+		&lt;%= link_to 'Already have an account?', new_session_path %&gt;
+		&lt;/p&gt;
+	&lt;/div&gt;
+&lt;% end -%&gt;
+
+&lt;% content_for(:head) do %&gt;
+	&lt;script type='text/javascript'&gt;
+	  document.getElementById('login').focus()
+	&lt;/script&gt;
+&lt;% end -%&gt;
\ No newline at end of file</diff>
      <filename>app/views/users/new.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,16 @@
-&lt;h2&gt;User: &lt;%=h @user.login %&gt;&lt;/h2&gt;
-&lt;p&gt;email: &lt;%=h @user.email %&gt;&lt;/p&gt;
-&lt;p&gt;Joined on: &lt;%= @user.created_at.to_s(:long) %&gt;&lt;/p&gt;
+&lt;% if @user == current_user %&gt;
+	&lt;h3&gt;Your User Profile&lt;/h3&gt;
+&lt;% else %&gt;
+	&lt;h3&gt;User's Profile&lt;/h3&gt;
+&lt;% end %&gt;
+
+&lt;p&gt;&lt;strong&gt;User:&lt;/strong&gt; &lt;%=h @user.login %&gt;&lt;/p&gt;
+&lt;p&gt;&lt;strong&gt;Email:&lt;/strong&gt; &lt;%=h @user.email %&gt;&lt;/p&gt;
+&lt;p&gt;&lt;strong&gt;Joined on:&lt;/strong&gt; &lt;%= @user.created_at.to_s(:long) %&gt;&lt;/p&gt;
+
+&lt;% content_for(:sidebar) do %&gt;
+	&lt;div class=&quot;box&quot;&gt;
+		&lt;h3&gt;Help&lt;/h3&gt;
+		&lt;p&gt; This is your user profile. &lt;/p&gt;
+	&lt;/div&gt;
+&lt;% end -%&gt;
\ No newline at end of file</diff>
      <filename>app/views/users/show.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1f2fbf58a085894494e0cf77cefdface92fbe1bf</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Kehoe</name>
    <email>developer@fortuity.com</email>
  </author>
  <url>http://github.com/fortuity/origin_restful_authentication/commit/3c6e2a02dadfb964ee17f9030787530334bac9b3</url>
  <id>3c6e2a02dadfb964ee17f9030787530334bac9b3</id>
  <committed-date>2008-08-12T15:03:44-07:00</committed-date>
  <authored-date>2008-08-12T15:03:44-07:00</authored-date>
  <message>Modified views and added CSS to apply design elements</message>
  <tree>2fb7a6ab000c3f34faa5b0f644f9b97f04d449d7</tree>
  <committer>
    <name>Daniel Kehoe</name>
    <email>developer@fortuity.com</email>
  </committer>
</commit>
