Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.haml « passwords « views « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9ffcca1242b8114355b6280bd1a2d5d7a15c945b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- 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|
    %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)