mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 15:06:17 +08:00
DEV: add plugin outlets to create/login (#23340)
This commit is contained in:
parent
2c58d456dd
commit
6b375440f5
|
@ -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}}
|
||||||
|
|
||||||
|
|
|
@ -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}}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user