Skip to content

Password reset edit form restyled #96

Merged
merged 1 commit into from May 24, 2012
View
1 app/models/tweet.rb
@@ -9,7 +9,6 @@
# updated_at :datetime not null
# poster_id :integer
# points :integer default(0)
-# tweet_id :integer
#
# For tweets on a user who has authorized twitter
View
37 app/views/password_resets/edit.html.slim
@@ -1,20 +1,19 @@
-h1 Reset Password
-
-= form_for @user, :url => password_reset_path(params[:id]) do |f|
- - if @user.errors.any?
- .error_messages
- h2 Form is invalid
- ul
- - for message in @user.errors.full_messages
- li
- = message
- .field
- = f.label :password
- = f.password_field :password
- .field
- = f.label :password_confirmation
- = f.password_field :password_confirmation
- .actions
- = f.submit "Update password"
-
+#reset_password_form.post_container
+ h1 Reset Password
+ = form_for @user, :url => password_reset_path(params[:id]) do |f|
+ - if @user.errors.any?
+ .error_messages
+ h2 Form is invalid
+ ul
+ - for message in @user.errors.full_messages
+ li
+ = message
+ .field
+ = f.label :password
+ = f.password_field :password
+ .field
+ = f.label :password_confirmation
+ = f.password_field :password_confirmation
+ .action
+ = f.submit "Update password"
View
1 spec/fabricators/tweet_fabricator.rb
@@ -9,7 +9,6 @@
# updated_at :datetime not null
# poster_id :integer
# points :integer default(0)
-# tweet_id :integer
#
Fabricator(:tweet) do
View
1 spec/models/tweet_spec.rb
@@ -9,7 +9,6 @@
# updated_at :datetime not null
# poster_id :integer
# points :integer default(0)
-# tweet_id :integer
#
require 'spec_helper'
Something went wrong with that request. Please try again.