From 9bd604cbe9fcef2b6efe47093f50d66680c37889 Mon Sep 17 00:00:00 2001 From: Dmitry Shveikus Date: Tue, 16 Nov 2021 22:23:33 +0300 Subject: [PATCH] Update TAB behaviour for login modal --- app/assets/javascripts/templates/login.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/templates/login.html.haml b/app/assets/javascripts/templates/login.html.haml index d42dbaab9e..cf92fa0f7c 100644 --- a/app/assets/javascripts/templates/login.html.haml +++ b/app/assets/javascripts/templates/login.html.haml @@ -14,7 +14,7 @@ %input.title.input-text{name: "email", type: "email", id: "email", - tabindex: 1, + tabindex: "1", inputmode: "email", "ng-model" => "spree_user.email"} .row @@ -24,7 +24,7 @@ type: "password", id: "password", autocomplete: "off", - tabindex: 2, + tabindex: "2", inputmode: "password", "ng-model" => "spree_user.password"} .row @@ -33,12 +33,13 @@ type: "checkbox", id: "remember_me", value: "1", + tabindex: "3", "ng-model" => "spree_user.remember_me"} %label{for: "remember_me"} {{'remember_me' | t}} .row .large-12.columns %input.button.primary{name: "commit", - tabindex: "3", + tabindex: "4", type: "submit", value: "{{'label_login' | t}}"} :javascript