* refactor: 💡 update _typography stylesheet ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update header margin styles into single rule ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 add remove-header-margin class ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 remove 'header' class ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * test: 💍 fix failing tests for branded-card in desktop ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update style rule to use :where() ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 rename remove-header-margin to remove-margin ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update style comment ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937
35 lines
841 B
Handlebars
35 lines
841 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{page-title (t 'titles.new')}}
|
|
<Breadcrumbs::Item
|
|
@text={{t 'resources.policy.titles.new'}}
|
|
@route='scopes.scope.policies.new'
|
|
/>
|
|
|
|
<Rose::Layout::Page as |page|>
|
|
<page.breadcrumbs>
|
|
<Breadcrumbs::Container />
|
|
</page.breadcrumbs>
|
|
|
|
<page.header>
|
|
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
|
{{t 'resources.policy.titles.new'}}
|
|
<DocLink @doc='storage-policy.new' />
|
|
</Hds::Text::Display>
|
|
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
|
{{t 'resources.policy.description'}}
|
|
</Hds::Text::Body>
|
|
</page.header>
|
|
|
|
<page.body>
|
|
<Form::Policy
|
|
@model={{@model}}
|
|
@submit={{fn this.policies.save @model}}
|
|
@cancel={{fn this.policies.cancel @model}}
|
|
/>
|
|
</page.body>
|
|
|
|
</Rose::Layout::Page> |