chore: 🤖 apply centered layout to change password page

This commit is contained in:
Randall Morey committed 2020-09-17 14:54:19 -04:00
1 parent 0173aa0768
commit fa6a66b75d
1 file changed
+25 -5
@@ -1,5 +1,25 @@
<Form::Account::Password::ChangePassword
@model={{@model}}
@submit={{route-action "changePassword" @model}}
@cancel={{route-action "cancel" @model}}
/>
{{title (t "actions.change-password")}}
<Rose::Layout::Sidebar as |sidebarLayout|>
<sidebarLayout.body>
<main>
<Rose::Layout::Centered>
<Rose::Layout::Page as |page|>
<page.header>
<h2>{{t "actions.change-password"}}</h2>
</page.header>
<page.body>
<Form::Account::Password::ChangePassword
@model={{@model}}
@submit={{route-action "changePassword" @model}}
@cancel={{route-action "cancel" @model}}
/>
</page.body>
</Rose::Layout::Page>
</Rose::Layout::Centered>
</main>
</sidebarLayout.body>
</Rose::Layout::Sidebar>