blob: ea60939b3fba93484c7388a2d40558b82494f982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
#main_stream.stream
#login_form
.login-container
= form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f|
%fieldset
%legend
=t('.forgot_password')
- unless devise_error_messages!.empty?
%i= t('.no_account')
.control-group
= f.label :email, t('email'), :class => "control-label"
.controls
= f.text_field :email
.controls
= f.submit t('.send_password_instructions'), :class => 'btn'
%footer
- if display_registration_link?
= link_to t('devise.shared.links.sign_up'), new_registration_path(resource_name)
= link_to t('devise.sessions.new.sign_in'), new_user_session_path()
= link_to t('layouts.application.toggle'), toggle_mobile_path
|