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-10-01 08:33:22 +00:00
|
|
|
<AppView>
|
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>
|
2020-09-18 10:14:06 +00:00
|
|
|
{{#if item.IsEditable}}
|
|
|
|
{{#if item.ID}}
|
|
|
|
Edit Intention
|
|
|
|
{{else}}
|
|
|
|
New Intention
|
|
|
|
{{/if}}
|
2018-05-22 15:03:45 +00:00
|
|
|
{{else}}
|
2020-09-18 10:14:06 +00:00
|
|
|
View Intention
|
2018-05-22 15:03:45 +00:00
|
|
|
{{/if}}
|
|
|
|
</h1>
|
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>
|