Switch to using a common directive for user setup (sign in, sign up, recover account) everywhere

This commit is contained in:
Joseph Schorr 2013-12-11 18:20:24 -05:00
parent abe6db334d
commit 9dbbd33afc
6 changed files with 105 additions and 87 deletions

View file

@ -32,21 +32,12 @@
<div class="row" ng-show="!user || user.anonymous">
<div class="col-md-10 col-md-offset-1 page-description">
In order to create a new organization, <b>you must first be signed in</b> as the
user that <b>will become an admin</b> for the organization. Please sign-in if
you already have an account, or <a href="/">sign up</a> on the landing
page to create a new account.
user that <b>will become an admin</b> for the organization.
</div>
<div class="col-sm-6 col-sm-offset-3">
<div class="step-container" >
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">Sign In</h4>
</div>
<div class="panel-body">
<div class="signin-form" redirect-url="'/organizations/new'" sign-in-started="signinStarted()"
signed-in="signedIn()"></div>
</div>
</div>
<div class="user-setup" redirect-url="'/organizations/new'" sign-in-started="signinStarted()"
signed-in="signedIn()"></div>
</div>
</div>
</div>