mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
WIP (Angular 1.4 Upgrade): Moving controllers for login tabs to prevent multiple directives asking for isolate scope
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
%tab#forgot{"ng-controller" => "ForgotCtrl",
|
||||
heading: "{{'forgot_password' | t}}",
|
||||
active: "active",
|
||||
select: "select(path)"}
|
||||
|
||||
%form{"ng-submit" => "submit()"}
|
||||
|
||||
%tab#forgot{ heading: "{{'forgot_password' | t}}", active: "active", select: "select(path)"}
|
||||
%form{ ng: { controller: "ForgotCtrl", submit: "submit()" } }
|
||||
.row
|
||||
.large-12.columns
|
||||
.alert-box.success.radius{"ng-show" => "sent"}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
%tab#login-content{"ng-controller" => "LoginCtrl",
|
||||
heading: "{{'label_login' | t}}",
|
||||
active: "active",
|
||||
select: "select(path)"}
|
||||
%form{"ng-submit" => "submit()"}
|
||||
%tab#login-content{ heading: "{{'label_login' | t}}", active: "active", select: "select(path)"}
|
||||
%form{ ng: { controller: "LoginCtrl", submit: "submit()" } }
|
||||
.row
|
||||
.large-12.columns
|
||||
.alert-box.alert{"ng-show" => "errors != null"}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
%tab#sign-up-content{"ng-controller" => "SignupCtrl",
|
||||
heading: "{{'label_signup' | t}}",
|
||||
active: 'active',
|
||||
select: "select(path)"}
|
||||
%form{"ng-submit" => "submit()"}
|
||||
%tab#sign-up-content{ heading: "{{'label_signup' | t}}", active: 'active', select: "select(path)"}
|
||||
%form{ ng: { controller: "SignupCtrl", submit: "submit()" } }
|
||||
.row
|
||||
.large-12.columns
|
||||
%label{for: "email"} {{'signup_email' | t}}
|
||||
|
||||
Reference in New Issue
Block a user