github.com/outbrain/consul@v1.4.5/ui-v2/app/templates/dc/intentions/edit.hbs (about)

     1  {{#app-view class="acl edit" loading=isLoading}}
     2      {{#block-slot 'notification' as |status type|}}
     3        {{partial 'dc/intentions/notifications'}}
     4      {{/block-slot}}
     5      {{#block-slot 'breadcrumbs'}}
     6          <ol>
     7              <li><a data-test-back href={{href-to 'dc.intentions'}}>All Intentions</a></li>
     8          </ol>
     9      {{/block-slot}}
    10      {{#block-slot 'header'}}
    11          <h1>
    12  {{#if item.ID }}
    13              Edit Intention
    14  {{else}}
    15              New Intention
    16  {{/if}}
    17          </h1>
    18      {{/block-slot}}
    19      {{#block-slot 'actions'}}
    20  {{#if (not create) }}
    21          {{#feedback-dialog type='inline'}}
    22              {{#block-slot 'action' as |success error|}}
    23                  {{#copy-button success=(action success) error=(action error) clipboardText=item.ID title='copy UUID to clipboard'}}
    24                      Copy UUID
    25                  {{/copy-button}}
    26              {{/block-slot}}
    27              {{#block-slot 'success' as |transition|}}
    28                  <p class={{transition}}>
    29                      Copied UUID!
    30                  </p>
    31              {{/block-slot}}
    32              {{#block-slot 'error' as |transition|}}
    33                  <p class={{transition}}>
    34                      Sorry, something went wrong!
    35                  </p>
    36              {{/block-slot}}
    37          {{/feedback-dialog}}
    38  {{/if}}
    39      {{/block-slot}}
    40      {{#block-slot 'content'}}
    41          {{ partial 'dc/intentions/form'}}
    42      {{/block-slot}}
    43  {{/app-view}}