ui: Move intention description field (#10292)

...from under the permissions widget to over the permissions widget
This commit is contained in:
John Cowen 2021-05-27 15:55:35 +01:00 committed by hc-github-team-consul-core
parent 5518c36e62
commit 8fb3ef99c8
1 changed files with 6 additions and 6 deletions

View File

@ -102,6 +102,12 @@
{{/if}} {{/if}}
</fieldset> </fieldset>
</div> </div>
<fieldset>
<label class="type-text{{if item.error.Description ' has-error'}}">
<span>Description (Optional)</span>
<input type="text" name="Description" value={{item.Description}} placeholder="Description (Optional)" onchange={{action onchange}} />
</label>
</fieldset>
<div> <div>
<span class="label">Should this source connect to the destination?</span> <span class="label">Should this source connect to the destination?</span>
<div role="radiogroup" class={{if item.error.Action ' has-error'}}> <div role="radiogroup" class={{if item.error.Action ' has-error'}}>
@ -183,12 +189,6 @@
{{/if}} {{/if}}
</fieldset> </fieldset>
{{/if}} {{/if}}
<fieldset>
<label class="type-text{{if item.error.Description ' has-error'}}">
<span>Description (Optional)</span>
<input type="text" name="Description" value={{item.Description}} placeholder="Description (Optional)" onchange={{action onchange}} />
</label>
</fieldset>
<ModalDialog <ModalDialog
class="consul-intention-permission-modal" class="consul-intention-permission-modal"