DEV: add plugin outlets to create/login (#23340)

This commit is contained in:
Kris 2023-08-30 15:58:22 -04:00 committed by GitHub
parent 2c58d456dd
commit 6b375440f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,10 @@
<p class="login-subheader">{{i18n <p class="login-subheader">{{i18n
"create_account.subheader_title" "create_account.subheader_title"
}}</p> }}</p>
<PluginOutlet
@name="create-account-header-bottom"
@outletArgs={{hash showLogin=(route-action "showLogin")}}
/>
</div> </div>
{{#if this.showCreateForm}} {{#if this.showCreateForm}}

View File

@ -13,6 +13,10 @@
<h1 class="login-title">{{i18n "login.header_title"}}</h1> <h1 class="login-title">{{i18n "login.header_title"}}</h1>
<img src={{this.wavingHandURL}} alt="" class="waving-hand" /> <img src={{this.wavingHandURL}} alt="" class="waving-hand" />
<p class="login-subheader">{{i18n "login.subheader_title"}}</p> <p class="login-subheader">{{i18n "login.subheader_title"}}</p>
<PluginOutlet
@name="login-header-bottom"
@outletArgs={{hash createAccount=(action "createAccount")}}
/>
</div> </div>
<form id="login-form" method="post"> <form id="login-form" method="post">
<div id="credentials" class={{this.credentialsClass}}> <div id="credentials" class={{this.credentialsClass}}>