spLoginForm
stormpath
This directive will render a pre-built login form with all the necessary fields. After the login is a success, the following will happen:
<ANY sp-login-form
template-url="{string}">
...
</ANY>
| Param | Type | Details |
|---|---|---|
| template-url | string | An alternate template URL if you want to use your own template for the form. |
<!-- If you want to use the default template --> <div class="container"> <div sp-login-form></div> </div> <!-- If you want to use your own template --> <div class="container"> <div sp-login-form template-url="/path/to/my-custom-template.html"></div> </div>