2020-07-09 09:08:47 +00:00
|
|
|
{{#if item.ID}}
|
2020-01-28 14:25:52 +00:00
|
|
|
{{title 'Edit Intention'}}
|
|
|
|
{{else}}
|
|
|
|
{{title 'New Intention'}}
|
|
|
|
{{/if}}
|
2020-07-09 09:08:47 +00:00
|
|
|
<AppView @class="intention edit">
|
2020-02-19 19:26:38 +00:00
|
|
|
<BlockSlot @name="breadcrumbs">
|
2018-05-22 15:03:45 +00:00
|
|
|
<ol>
|
2020-04-16 14:15:45 +00:00
|
|
|
<li><a data-test-back href={{href-to 'dc.intentions'}}>All Intentions</a></li>
|
2018-05-22 15:03:45 +00:00
|
|
|
</ol>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="header">
|
2018-05-22 15:03:45 +00:00
|
|
|
<h1>
|
|
|
|
{{#if item.ID }}
|
|
|
|
Edit Intention
|
|
|
|
{{else}}
|
|
|
|
New Intention
|
|
|
|
{{/if}}
|
|
|
|
</h1>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="actions">
|
2020-07-09 09:08:47 +00:00
|
|
|
{{#if item.ID}}
|
2020-05-12 12:36:03 +00:00
|
|
|
<CopyButton @value={{item.ID}} @name="UUID">
|
|
|
|
Copy UUID
|
|
|
|
</CopyButton>
|
2018-05-22 15:03:45 +00:00
|
|
|
{{/if}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="content">
|
2020-04-01 08:55:49 +00:00
|
|
|
<ConsulIntentionForm
|
|
|
|
@item={{item}}
|
2020-07-09 09:08:47 +00:00
|
|
|
@dc={{dc}}
|
|
|
|
@nspace={{nspace}}
|
|
|
|
@onsubmit={{transition-to 'dc.intentions.index' dc}}
|
2020-04-01 08:55:49 +00:00
|
|
|
/>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
</AppView>
|