password_resetter 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -50,6 +50,11 @@ To match the style of your own app, every element of the html.erb files comes ta
50
50
  ### New Password Reset Page
51
51
  #### The page a User is directed when they click on the "Forgot Password?" link
52
52
 
53
+ The entire form is wrapped with
54
+ ```ruby
55
+ :class => "password-reset-request-field"
56
+ ```
57
+
53
58
  Email input field is tagged with
54
59
  ```ruby
55
60
  :class => "password-reset-input email"
@@ -63,6 +68,12 @@ Reset Password button:
63
68
  ### Complete Password Reset Page
64
69
  #### The page a User is directed when they follow the link emailed to them after initializing the reset process
65
70
 
71
+
72
+ The entire form is wrapped with
73
+ ```ruby
74
+ :class => "password-reset-complete-field"
75
+ ```
76
+
66
77
  Password and Password Confirmation fields tagged respectively with:
67
78
  ```ruby
68
79
  :class => "password-reset-input password"
@@ -1,7 +1,9 @@
1
- <%= simple_form_for @password_reset do |f| %>
2
- <div class="field">
3
- <%= f.input :password, :class => "password-reset-input password" %>
4
- <%= f.input :password_confirmation, :class => "password-reset-input password-confirmation" %>
5
- </div>
6
- <div class="actions"><%= f.submit "Update Password", :class => "password-reset-button update" %></div>
7
- <% end %>
1
+ <div class="password-reset-request-field">
2
+ <%= simple_form_for @password_reset do |f| %>
3
+ <div class="field">
4
+ <%= f.input :password, :class => "password-reset-input password" %>
5
+ <%= f.input :password_confirmation, :class => "password-reset-input password-confirmation" %>
6
+ </div>
7
+ <div class="actions"><%= f.submit "Update Password", :class => "password-reset-button update" %></div>
8
+ <% end %>
9
+ </div>
@@ -1,9 +1,11 @@
1
- <div class="password-reset-text reset"> Please enter your email address to reset your password.</div>
1
+ <div class="password-complete-field">
2
+ <div class="password-reset-text reset"> Please enter your email address to reset your password.</div>
2
3
 
3
- <%= simple_form_for @password_reset do |f| %>
4
- <%= f.full_error :user %>
5
- <div class="field">
6
- <%= f.input :email, :label => "Enter your Email Address", :class => "password-reset-input email" %>
7
- </div>
8
- <div class="actions"><%= submit_tag "Reset Password", :class => "password-reset-button reset" %></div>
9
- <% end %>
4
+ <%= simple_form_for @password_reset do |f| %>
5
+ <%= f.full_error :user %>
6
+ <div class="field">
7
+ <%= f.input :email, :label => "Enter your Email Address", :class => "password-reset-input email" %>
8
+ </div>
9
+ <div class="actions"><%= submit_tag "Reset Password", :class => "password-reset-button reset" %></div>
10
+ <% end %>
11
+ </div>
@@ -1,3 +1,3 @@
1
1
  module PasswordResetter
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: password_resetter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-30 00:00:00.000000000 Z
12
+ date: 2012-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails