* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813) * refactor: 💡 page::layout- header,breadcrumb and actions * refactor: 💡 added new class for the page layout, fixed a11y * refactor: 💡 addressed comments * refactor: 💡 moved copy snippet to PH.Generic * refactor: 💡 addressed comments * Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825) * refactor: 💡 rose page layout header * refactor: 💡 removed extra classes * Refactor: Rose::Page::Layout - header, actions and breadcrumbs Final Part (#2840) * refactor: 💡 rose page layout header * Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813) * refactor: 💡 page::layout- header,breadcrumb and actions * refactor: 💡 added new class for the page layout, fixed a11y * refactor: 💡 addressed comments * refactor: 💡 moved copy snippet to PH.Generic * refactor: 💡 addressed comments * Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825) * refactor: 💡 rose page layout header * refactor: 💡 removed extra classes * refactor: 💡 fixed a11y heading, actions dropdown * refactor: 💡 fixed page header * refactor: 💡 fix heading margin and failing tests * refactor: 💡 add back margin for hds header tags * refactor: 💡 fix style
38 lines
1.0 KiB
Handlebars
38 lines
1.0 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{page-title (t 'titles.new')}}
|
|
<Breadcrumbs::Item
|
|
@text={{t 'resources.auth-method.titles.new'}}
|
|
@route='scopes.scope.auth-methods.new'
|
|
/>
|
|
|
|
<Rose::Layout::Page as |page|>
|
|
<page.header>
|
|
<Hds::PageHeader as |PH|>
|
|
<PH.Breadcrumb>
|
|
<Breadcrumbs::Container />
|
|
</PH.Breadcrumb>
|
|
<PH.Title>
|
|
{{t 'resources.auth-method.titles.new'}}
|
|
<DocLink @doc='auth-method' />
|
|
</PH.Title>
|
|
<PH.Description>
|
|
{{t 'resources.auth-method.description'}}
|
|
</PH.Description>
|
|
</Hds::PageHeader>
|
|
</page.header>
|
|
|
|
<page.body>
|
|
<Form::AuthMethod
|
|
@model={{@model}}
|
|
@submit={{fn this.authMethods.save @model}}
|
|
@cancel={{fn this.authMethods.cancel @model}}
|
|
@removeItemByIndex={{fn this.authMethods.removeItemByIndex @model}}
|
|
@addStringItem={{fn this.authMethods.addStringItem @model}}
|
|
@addAccountMapItem={{fn this.authMethods.addAccountMapItem @model}}
|
|
/>
|
|
</page.body>
|
|
</Rose::Layout::Page> |