Singleton manager updates to handle retrieved and saved items independently

This commit is contained in:
Mo Bitar
2018-01-20 10:39:00 -06:00
parent af8cdf5a41
commit 02f77b67b0
5 changed files with 45 additions and 27 deletions

View File

@@ -22,7 +22,7 @@
{{formData.showLogin ? "Sign In" : "Register (free)"}}
%form.panel-form{"ng-submit" => "submitAuthForm()"}
%input{:placeholder => 'Email', :autofocus => 'autofocus', :name => 'email', :required => true, :type => 'email', 'ng-model' => 'formData.email'}
%input{:placeholder => 'Email', "sn-autofocus" => 'true', "should-focus" => "true", :name => 'email', :required => true, :type => 'email', 'ng-model' => 'formData.email'}
%input{:placeholder => 'Password', :name => 'password', :required => true, :type => 'password', 'ng-model' => 'formData.user_password'}
%input{:placeholder => 'Confirm Password', "ng-if" => "formData.showRegister", :name => 'password', :required => true, :type => 'password', 'ng-model' => 'formData.password_conf'}