diaspora/app/views/devise/passwords/new.haml
Saritha 7b08cdd488 Change button color to blue
Fix #6449
 Fix: SyntaxError in 'app/views/devise/passwords/edit.mobile.haml'
2015-10-20 12:53:59 +05:30

32 lines
1.3 KiB
Text

- content_for :page_title do
= "#{AppConfig.settings.pod_name} - #{t('devise.passwords.new.forgot_password')}"
#forgot_password
.container
.text-center
.logos-asterisk
%h1
= 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|
- if !devise_error_messages!.empty?
%legend
%i
= t('devise.passwords.new.no_account') # this is an error message and should not be displayed as a legend
%fieldset
%label#emailLabel.sr-only{for: "user_email"}
= t("devise.passwords.new.email")
%i.entypo-mail
= f.text_field :email,
class: "input-block-level form-control",
required: true,
autocapitalize: "off",
placeholder: t("devise.passwords.new.email"),
autocorrect: "off",
autofocus: true,
aria: {labelledby: "passwordLabel"}
= f.submit t("devise.passwords.new.send_password_instructions"), class: "btn btn-block btn-primary"
.text-center
= link_to t('devise.shared.links.sign_in'), new_session_path(resource_name)