{{message-error model=model}}
{{ivy-codemirror
value=model.policy
valueUpdated=(action (mut model.policy))
options=(hash
lineNumbers=true
tabSize=2
mode='ruby'
theme='hashi'
extraKeys=(hash
Shift-Enter=(action "savePolicy" model)
)
)
}}
You can use Alt+Tab (Option+Tab on MacOS) in the code editor to skip to the next field
{{#each model.additionalAttrs as |attr|}}
{{form-field data-test-field attr=attr model=model}}
{{/each}}
{{#if capabilities.canUpdate}}
{{/if}}
{{#link-to "vault.cluster.policy.show" model.id replace=true class="button"}}
Cancel
{{/link-to}}