blob: 9ee0347e5e56fb846a82371724872d14e2c5a9f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
- content_for :page_title do
= "#{AppConfig.settings.pod_name} / #{t('devise.passwords.new.forgot_password')}"
#forgot_password
%h1{id: "huge-text"}= AppConfig.settings.pod_name
= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => {:class => "form-horizontal block-form"}, :autocomplete => 'off') do |f|
%legend
%i= t('devise.passwords.new.no_account') unless devise_error_messages!.empty?
%fieldset
.control-group
%label{class: "control-label", for: "user_email", style: "width: 40%; text-align: center; padding: 10px 0; overflow: hidden"}
= t('devise.passwords.new.email')
.controls
= f.text_field :email, :required => true, :autocapitalize => "off", :placeholder => "••••••••", :autocorrect => "off", :autofocus => true, :style => "width: 60%;"
= f.submit t('devise.passwords.new.send_password_instructions'), :class => "new-btn"
%br/
%br/
%br/
= link_to t('devise.shared.links.sign_in'), new_session_path(resource_name)
|