devise-foundation-views 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +49 -0
  7. data/Rakefile +1 -0
  8. data/app/assets/stylesheets/devise_foundation_views_less.less +10 -0
  9. data/app/assets/stylesheets/devise_foundation_views_scss.scss +9 -0
  10. data/app/views/devise/confirmations/new.html.erb +22 -0
  11. data/app/views/devise/mailer/confirmation_instructions.html.erb +6 -0
  12. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  13. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  14. data/app/views/devise/passwords/edit.html.erb +25 -0
  15. data/app/views/devise/passwords/new.html.erb +21 -0
  16. data/app/views/devise/registrations/edit.html.erb +31 -0
  17. data/app/views/devise/registrations/new.html.erb +27 -0
  18. data/app/views/devise/sessions/new.html.erb +30 -0
  19. data/app/views/devise/shared/_links.html.erb +25 -0
  20. data/app/views/devise/unlocks/new.html.erb +21 -0
  21. data/app/views/devise_haml/confirmations/new.html.haml +13 -0
  22. data/app/views/devise_haml/mailer/confirmation_instructions.html.haml +3 -0
  23. data/app/views/devise_haml/mailer/reset_password_instructions.html.haml +5 -0
  24. data/app/views/devise_haml/mailer/unlock_instructions.html.haml +4 -0
  25. data/app/views/devise_haml/passwords/edit.html.haml +16 -0
  26. data/app/views/devise_haml/passwords/new.html.haml +13 -0
  27. data/app/views/devise_haml/registrations/edit.html.haml +22 -0
  28. data/app/views/devise_haml/registrations/new.html.haml +17 -0
  29. data/app/views/devise_haml/sessions/new.html.haml +19 -0
  30. data/app/views/devise_haml/shared/_links.html.haml +19 -0
  31. data/app/views/devise_haml/unlocks/new.html.haml +13 -0
  32. data/app/views/devise_slim/confirmations/new.html.slim +13 -0
  33. data/app/views/devise_slim/mailer/confirmation_instructions.html.slim +4 -0
  34. data/app/views/devise_slim/mailer/reset_password_instructions.html.slim +6 -0
  35. data/app/views/devise_slim/mailer/unlock_instructions.html.slim +4 -0
  36. data/app/views/devise_slim/passwords/edit.html.slim +17 -0
  37. data/app/views/devise_slim/passwords/new.html.slim +13 -0
  38. data/app/views/devise_slim/registrations/edit.html.slim +23 -0
  39. data/app/views/devise_slim/registrations/new.html.slim +18 -0
  40. data/app/views/devise_slim/sessions/new.html.slim +19 -0
  41. data/app/views/devise_slim/shared/_links.html.slim +19 -0
  42. data/app/views/devise_slim/unlocks/new.html.slim +14 -0
  43. data/devise-foundation-views.gemspec +32 -0
  44. data/lib/devise-foundation-views.rb +28 -0
  45. data/lib/devise_foundation_views_helper.rb +22 -0
  46. data/lib/generators/devise/views/foundation_templates/foundation_templates_generator.rb +25 -0
  47. data/lib/generators/devise/views/locale/locale_generator.rb +10 -0
  48. data/lib/version.rb +3 -0
  49. data/locales/ar.yml +112 -0
  50. data/locales/ca.yml +59 -0
  51. data/locales/cs.yml +110 -0
  52. data/locales/de.yml +110 -0
  53. data/locales/en.yml +111 -0
  54. data/locales/es-AR.yml +51 -0
  55. data/locales/es-ES.yml +59 -0
  56. data/locales/es.yml +51 -0
  57. data/locales/fr.yml +51 -0
  58. data/locales/hu.yml +59 -0
  59. data/locales/it.yml +51 -0
  60. data/locales/nl.yml +59 -0
  61. data/locales/pl.yml +57 -0
  62. data/locales/pt-BR.yml +56 -0
  63. data/locales/ru.yml +56 -0
  64. data/locales/tr.yml +51 -0
  65. data/locales/uk.yml +56 -0
  66. data/locales/zh-CN.yml +58 -0
  67. data/locales/zh-TW.yml +57 -0
  68. metadata +139 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f0406634cd57e1011848dc787950a43e2b8aeb41
4
+ data.tar.gz: a400df7a9f59b360f03d8f76c2d43922117cf96b
5
+ SHA512:
6
+ metadata.gz: 6af77f7bd60ba754f42119f7a45ca2435161a45f9e31c0284a4ff6d66bdd0c1cdf379bb6393833b5ceab8e85917f88286b1a43185e842fc4aee63e109ce232e7
7
+ data.tar.gz: 5d00abea8db86dad4c7fd1cd10620edee5e8f65de26ca982e9889fa923d4ddb0b0782decb997e13da3a8e5314f6f193724c01f1086e2d2647581e8fb83ca2ff9
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in devise-foundation-views.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 ethi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # DeviseFoundationViews
2
+
3
+ DeviseFoundationViews gem provides you with a foundation based devise views
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'devise-foundation-views'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ To use this gem add this require statement to your application.js file:
18
+
19
+ # SCSS
20
+ *= require devise_foundation_views_scss
21
+
22
+ # LESS
23
+ *= require devise_foundation_views_less
24
+
25
+ you can install the required translations in your config/locales through the generator devise:views:locale, eg.
26
+
27
+ rails g devise:views:locale it
28
+
29
+ will generate config/locales/devise.views.it.yml
30
+
31
+ ## Customizing Views
32
+
33
+ The devise:views:foundation_templates generator will copy all views to your application, so you can modify the files as you wish:
34
+
35
+ rails g devise:views:foundation_templates
36
+
37
+ Support is also provided to generate slim or haml files eg
38
+
39
+ rails g devise:views:foundation_templates slim
40
+
41
+ ## Contributing
42
+
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ethirajsrinivasan/devise-foundation-views.
44
+
45
+ ## License
46
+
47
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
48
+
49
+ This gem is based on the idea of devise-bootstrap-views
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,10 @@
1
+ body {
2
+ background: #F0F0F3;
3
+ }
4
+
5
+ .login-box {
6
+ background: #fff;
7
+ border: 1px solid #ddd;
8
+ margin: 100px 0;
9
+ padding: 40px 20px 0 20px;
10
+ }
@@ -0,0 +1,9 @@
1
+ body {
2
+ background: #F0F0F3;
3
+ }
4
+ .login-box {
5
+ background: #fff;
6
+ border: 1px solid #ddd;
7
+ margin: 100px 0;
8
+ padding: 40px 20px 0 20px;
9
+ }
@@ -0,0 +1,22 @@
1
+ <%= foundation_devise_error_messages! %>
2
+ <div class="large-3 large-centered columns">
3
+ <div class="login-box">
4
+ <div class="row">
5
+ <div class="large-12 columns">
6
+ <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post}) do |f| %>
7
+ <div class="row">
8
+ <h5 class="text-center"><%= t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %></h5>
9
+ </div>
10
+ <div class="row">
11
+ <%= f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"%>
12
+ </div>
13
+ <div class="row">
14
+ <%= f.submit t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions'), class: "button expand large-12 large-centered columns" %>
15
+ </div>
16
+ <% end %>
17
+ </div>
18
+ <%= render "devise/shared/links" %>
19
+ </div>
20
+ </div>
21
+ </div>
22
+
@@ -0,0 +1,6 @@
1
+ <p><%= t('.greeting', :recipient => @resource.email, :default => "Welcome #{@resource.email}!") %></p>
2
+
3
+ <p><%= t('.instruction', :default => "You can confirm your account email through the link below:") %></p>
4
+
5
+ <p><%= link_to t('.action', :default => "Confirm my account"),
6
+ confirmation_url(@resource, :confirmation_token => @token, locale: I18n.locale) %></p>
@@ -0,0 +1,8 @@
1
+ <p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
2
+
3
+ <p><%= t('.instruction', :default => "Someone has requested a link to change your password, and you can do this through the link below.") %></p>
4
+
5
+ <p><%= link_to t('.action', :default => "Change my password"), edit_password_url(@resource, :reset_password_token => @token, locale: I18n.locale) %></p>
6
+
7
+ <p><%= t('.instruction_2', :default => "If you didn't request this, please ignore this email.") %></p>
8
+ <p><%= t('.instruction_3', :default => "Your password won't change until you access the link above and create a new one.") %></p>
@@ -0,0 +1,7 @@
1
+ <p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
2
+
3
+ <p><%= t('.message', :default => "Your account has been locked due to an excessive amount of unsuccessful sign in attempts.") %></p>
4
+
5
+ <p><%= t('.instruction', :default => "Click the link below to unlock your account:") %></p>
6
+
7
+ <p><%= link_to t('.action', :default => "Unlock my account"), unlock_url(@resource, :unlock_token => @resource.unlock_token, locale: I18n.locale) %></p>
@@ -0,0 +1,25 @@
1
+ <%= foundation_devise_error_messages! %>
2
+ <div class="large-3 large-centered columns">
3
+ <div class="login-box">
4
+ <div class="row">
5
+ <div class="large-12 columns">
6
+ <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put}) do |f| %>
7
+ <%= f.hidden_field :reset_password_token %>
8
+ <div class="row">
9
+ <h5 class="text-center"><%= t('.change_your_password', :default => 'Change your password') %></h5>
10
+ </div>
11
+ <div class="row">
12
+ <%= f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "New Password"%>
13
+ </div>
14
+ <div class="row">
15
+ <%= f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Confirm New Password"%>
16
+ </div>
17
+ <div class="row">
18
+ <%= f.submit t('.change_my_password', :default => 'Change my password'), class: "button expand large-12 large-centered columns" %>
19
+ </div>
20
+ <% end %>
21
+ </div>
22
+ <%= render "devise/shared/links" %>
23
+ </div>
24
+ </div>
25
+ </div>
@@ -0,0 +1,21 @@
1
+ <%= foundation_devise_error_messages! %>
2
+ <div class="large-3 large-centered columns">
3
+ <div class="login-box">
4
+ <div class="row">
5
+ <div class="large-12 columns">
6
+ <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post}) do |f| %>
7
+ <div class="row">
8
+ <h5 class="text-center"><%= t('.forgot_your_password', :default => 'Forgot your password?') %></h5>
9
+ </div>
10
+ <div class="row">
11
+ <%= f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"%>
12
+ </div>
13
+ <div class="row">
14
+ <%= f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions"), class: "button expand large-12 large-centered columns" %>
15
+ </div>
16
+ <% end %>
17
+ </div>
18
+ <%= render "devise/shared/links" %>
19
+ </div>
20
+ </div>
21
+ </div>
@@ -0,0 +1,31 @@
1
+ <%= foundation_devise_error_messages! %>
2
+ <div class="large-3 large-centered columns">
3
+ <div class="login-box">
4
+ <div class="row">
5
+ <div class="large-12 columns">
6
+ <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
7
+ <div class="row">
8
+ <h5 class="text-center"><%= t('.title', :resource => resource_class.model_name.human , :default => "Edit #{resource_name.to_s.humanize}") %></h5>
9
+ </div>
10
+ <div class="row">
11
+ <%= f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"%>
12
+ </div>
13
+ <div class="row">
14
+ <%= f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "Password", title: "leave blank if you don't want to change it" %>
15
+ </div>
16
+ <div class="row">
17
+ <%= f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Password Confirmation"%>
18
+ </div>
19
+ <div class="row">
20
+ <%= f.password_field :current_password, autocomplete: "off", class: "large-12 columns", placeholder: "Current Password", title: "we need your current password to confirm your changes"%>
21
+ </div>
22
+ <div class="row">
23
+ <%= f.submit t('.update', :default => "Update"), class: "button expand large-12 large-centered columns" %>
24
+ </div>
25
+ <% end %>
26
+ </div>
27
+ <p><%= t('.unhappy', :default => 'Unhappy') %>? <%= link_to t('.cancel_my_account', :default => "Cancel my account"), registration_path(resource_name), :data => { :confirm => t('.are_you_sure', :default => "Are you sure?") }, :method => :delete %>.</p>
28
+ <%= link_to t('.back', :default => 'Back'), :back %>
29
+ </div>
30
+ </div>
31
+ </div>
@@ -0,0 +1,27 @@
1
+ <%= foundation_devise_error_messages! %>
2
+ <div class="large-3 large-centered columns">
3
+ <div class="login-box">
4
+ <div class="row">
5
+ <div class="large-12 columns">
6
+ <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
7
+ <div class="row">
8
+ <h5 class="text-center"><%= t('.sign_up', :default => "Sign up") %></h5>
9
+ </div>
10
+ <div class="row">
11
+ <%= f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"%>
12
+ </div>
13
+ <div class="row">
14
+ <%= f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "Password"%>
15
+ </div>
16
+ <div class="row">
17
+ <%= f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Password Confirmation"%>
18
+ </div>
19
+ <div class="row">
20
+ <%= f.submit t('.sign_up', :default => "Sign up"), class: "button expand large-12 large-centered columns" %>
21
+ </div>
22
+ <% end %>
23
+ </div>
24
+ <%= render "devise/shared/links" %>
25
+ </div>
26
+ </div>
27
+ </div>
@@ -0,0 +1,30 @@
1
+ <%= foundation_devise_error_messages! %>
2
+ <div class="large-3 large-centered columns">
3
+ <div class="login-box">
4
+ <div class="row">
5
+ <div class="large-12 columns">
6
+ <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
7
+ <div class="row">
8
+ <h5 class="text-center"><%= t('.sign_in', :default => "Sign in") %></h5>
9
+ </div>
10
+ <div class="row">
11
+ <%= f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"%>
12
+ </div>
13
+ <div class="row">
14
+ <%= f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "Password"%>
15
+ </div>
16
+ <% if devise_mapping.rememberable? %>
17
+ <div class="row">
18
+ <%= f.check_box :remember_me %>
19
+ <%= f.label :remember_me %>
20
+ </div>
21
+ <% end %>
22
+ <div class="row">
23
+ <%= f.submit t('.sign_in', :default => "Sign in"), class: "button expand large-12 large-centered columns" %>
24
+ </div>
25
+ <% end %>
26
+ </div>
27
+ <%= render "devise/shared/links" %>
28
+ </div>
29
+ </div>
30
+ </div>
@@ -0,0 +1,25 @@
1
+ <%- if controller_name != 'sessions' %>
2
+ <%= link_to t(".sign_in", :default => "Sign in"), new_session_path(resource_name) %><br />
3
+ <% end -%>
4
+
5
+ <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
6
+ <%= link_to t(".sign_up", :default => "Sign up"), new_registration_path(resource_name) %><br />
7
+ <% end -%>
8
+
9
+ <%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
10
+ <%= link_to t(".forgot_your_password", :default => "Forgot your password?"), new_password_path(resource_name) %><br />
11
+ <% end -%>
12
+
13
+ <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
14
+ <%= link_to t('.didn_t_receive_confirmation_instructions', :default => "Didn't receive confirmation instructions?"), new_confirmation_path(resource_name) %><br />
15
+ <% end -%>
16
+
17
+ <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
18
+ <%= link_to t('.didn_t_receive_unlock_instructions', :default => "Didn't receive unlock instructions?"), new_unlock_path(resource_name) %><br />
19
+ <% end -%>
20
+
21
+ <%- if devise_mapping.omniauthable? %>
22
+ <%- resource_class.omniauth_providers.each do |provider| %>
23
+ <%= link_to t('.sign_in_with_provider', :provider => provider.to_s.titleize, :default => "Sign in with #{provider.to_s.titleize}"), omniauth_authorize_path(resource_name, provider) %><br />
24
+ <% end -%>
25
+ <% end -%>
@@ -0,0 +1,21 @@
1
+ <%= foundation_devise_error_messages! %>
2
+ <div class="large-3 large-centered columns">
3
+ <div class="login-box">
4
+ <div class="row">
5
+ <div class="large-12 columns">
6
+ <%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post}) do |f| %>
7
+ <div class="row">
8
+ <h5 class="text-center"><%= t('.resend_unlock_instructions', :default => "Resend unlock instructions") %></h5>
9
+ </div>
10
+ <div class="row">
11
+ <%= f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"%>
12
+ </div>
13
+ <div class="row">
14
+ <%= f.submit t('.resend_unlock_instructions', :default => "Resend unlock instructions"), class: "button expand large-12 large-centered columns" %>
15
+ </div>
16
+ <% end %>
17
+ </div>
18
+ <%= render "devise/shared/links" %>
19
+ </div>
20
+ </div>
21
+ </div>
@@ -0,0 +1,13 @@
1
+ = foundation_devise_error_messages!
2
+ .large-3.large-centered.columns
3
+ .login-box
4
+ .row
5
+ .large-12.columns
6
+ = form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post}) do |f|
7
+ .row
8
+ %h5.text-center= t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions')
9
+ .row
10
+ = f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"
11
+ .row
12
+ = f.submit t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions'), class: "button expand large-12 large-centered columns"
13
+ = render "devise/shared/links"
@@ -0,0 +1,3 @@
1
+ %p= t('.greeting', :recipient => @resource.email, :default => "Welcome #{@resource.email}!")
2
+ %p= t('.instruction', :default => "You can confirm your account email through the link below:")
3
+ %p= link_to t('.action', :default => "Confirm my account"),confirmation_url(@resource, :confirmation_token => @token, locale: I18n.locale)
@@ -0,0 +1,5 @@
1
+ %p= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!")
2
+ %p= t('.instruction', :default => "Someone has requested a link to change your password, and you can do this through the link below.")
3
+ %p= link_to t('.action', :default => "Change my password"), edit_password_url(@resource, :reset_password_token => @token, locale: I18n.locale)
4
+ %p= t('.instruction_2', :default => "If you didn't request this, please ignore this email.")
5
+ %p= t('.instruction_3', :default => "Your password won't change until you access the link above and create a new one.")
@@ -0,0 +1,4 @@
1
+ %p= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!")
2
+ %p= t('.message', :default => "Your account has been locked due to an excessive amount of unsuccessful sign in attempts.")
3
+ %p= t('.instruction', :default => "Click the link below to unlock your account:")
4
+ %p= link_to t('.action', :default => "Unlock my account"), unlock_url(@resource, :unlock_token => @resource.unlock_token, locale: I18n.locale)
@@ -0,0 +1,16 @@
1
+ = foundation_devise_error_messages!
2
+ .large-3.large-centered.columns
3
+ .login-box
4
+ .row
5
+ .large-12.columns
6
+ = form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put}) do |f|
7
+ = f.hidden_field :reset_password_token
8
+ .row
9
+ %h5.text-center= t('.change_your_password', :default => 'Change your password')
10
+ .row
11
+ = f.password_field :password, autocomplete: "off", class: "large-12 columns", placeholder: "New Password"
12
+ .row
13
+ = f.password_field :password_confirmation, autocomplete: "off", class: "large-12 columns", placeholder: "Confirm New Password"
14
+ .row
15
+ = f.submit t('.change_my_password', :default => 'Change my password'), class: "button expand large-12 large-centered columns"
16
+ = render "devise/shared/links"
@@ -0,0 +1,13 @@
1
+ = foundation_devise_error_messages!
2
+ .large-3.large-centered.columns
3
+ .login-box
4
+ .row
5
+ .large-12.columns
6
+ = form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post}) do |f|
7
+ .row
8
+ %h5.text-center= t('.forgot_your_password', :default => 'Forgot your password?')
9
+ .row
10
+ = f.email_field :email, autofocus: true, class: "large-12 columns", placeholder: "Email"
11
+ .row
12
+ = f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions"), class: "button expand large-12 large-centered columns"
13
+ = render "devise/shared/links"