open-consul/ui-v2/app/templates/dc/nspaces/edit.hbs

30 lines
714 B
Handlebars
Raw Normal View History

{{#if create }}
{{title 'New Namespace'}}
{{else}}
{{title 'Edit Namespace'}}
{{/if}}
{{#app-view class="nspace edit" loading=isLoading}}
{{#block-slot name='notification' as |status type|}}
{{partial 'dc/nspaces/notifications'}}
{{/block-slot}}
{{#block-slot name='breadcrumbs'}}
<ol>
<li><a data-test-back href={{href-to 'dc.nspaces'}}>All Namespaces</a></li>
</ol>
{{/block-slot}}
{{#block-slot name='header'}}
<h1>
{{#if create }}
New Namespace
{{else}}
Edit {{item.Name}}
{{/if}}
</h1>
{{/block-slot}}
{{#block-slot name='actions'}}
{{/block-slot}}
{{#block-slot name='content'}}
{{ partial 'dc/nspaces/form'}}
{{/block-slot}}
{{/app-view}}