Skip to content

Commit 6b37544

Browse files
authored
DEV: add plugin outlets to create/login (#23340)
1 parent 2c58d45 commit 6b37544

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

app/assets/javascripts/discourse/app/templates/modal/create-account.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
<p class="login-subheader">{{i18n
2222
"create_account.subheader_title"
2323
}}</p>
24+
<PluginOutlet
25+
@name="create-account-header-bottom"
26+
@outletArgs={{hash showLogin=(route-action "showLogin")}}
27+
/>
2428
</div>
2529
{{#if this.showCreateForm}}
2630

app/assets/javascripts/discourse/app/templates/modal/login.hbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<h1 class="login-title">{{i18n "login.header_title"}}</h1>
1414
<img src={{this.wavingHandURL}} alt="" class="waving-hand" />
1515
<p class="login-subheader">{{i18n "login.subheader_title"}}</p>
16+
<PluginOutlet
17+
@name="login-header-bottom"
18+
@outletArgs={{hash createAccount=(action "createAccount")}}
19+
/>
1620
</div>
1721
<form id="login-form" method="post">
1822
<div id="credentials" class={{this.credentialsClass}}>

0 commit comments

Comments
 (0)