Skip to content

Commit

Permalink
Removed label for email and used placeholder instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhiiva committed Jun 19, 2021
1 parent 8c9246f commit 7140a83
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions app/views/devise/sessions/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@

%fieldset
.field.flex
%div.field-key
= f.label :email
%div.field-value
= f.text_field :email, :tabindex => 1
= f.text_field :email, :tabindex => 1, :placeholder => 'Email'

.field.flex
%div.field-key
= f.label :password
%div.field-value
= f.password_field :password, :tabindex => 2
= f.password_field :password, :tabindex => 2, :placeholder => 'Password'

- if devise_mapping.rememberable?
.field.flex
Expand All @@ -44,4 +40,4 @@
Please
= link_to "start here!", new_user_registration_path, :tabindex => 6

%p (Sorry, you cannot use an account from a previous year.)
%p (Sorry, you cannot use an account from a previous year.)

0 comments on commit 7140a83

Please sign in to comment.