Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Add link to reset forgotten password
Browse files Browse the repository at this point in the history
  • Loading branch information
infertux committed Mar 23, 2015
1 parent 7ae07e4 commit 4803ca5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions app/views/session/new.html.haml
@@ -1,5 +1,13 @@
= simple_form_for(:session, url: customer_sign_in_path) do |f|
= f.input :email
= f.input :password
= f.submit t('log_in')
= simple_form_for(:session, url: customer_sign_in_path, html: { novalidate: false }) do |f|

.row-fluid
.span12= f.input :email, label: t('authentication.enter_email'), input_html: { required: true }
.row-fluid
.span12= f.input :password, label: t('authentication.enter_password'), as: :password, input_html: { required: true }

.row-fluid
.span12
= f.button :submit, t('log_in'), class: 'btn btn-process'
%i.icon-lock
= link_to t('password_forgotten?'), "https://my.buckybox.com/customers/password/new?distributor=#{current_webstore.id}", target: '_blank'

0 comments on commit 4803ca5

Please sign in to comment.