open-vault/ui/app/templates/components/auth-form-options.hbs

27 lines
761 B
Handlebars

{{#if (not this.selectedAuthIsPath)}}
<div class="box has-slim-padding is-shadowless">
<ToggleButton
@toggleTarget={{this}}
@toggleAttr="isOpen"
/>
{{#if this.isOpen}}
<div class="field">
<label for="custom-path" class="is-label">
Mount path
</label>
<div class="control">
<input
type="text"
name="custom-path"
id="custom-path"
class="input"
value={{@customPath}}
oninput={{action @onPathChange value="target.value"}}
/>
</div>
<AlertInline @type="info" @message="If this backend was mounted using a non-default path, enter it here." />
</div>
{{/if}}
</div>
{{/if}}