Moved location of disable expiry checkbox

Co-authored-by: Nelson Chan <chakflying@hotmail.com>
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2023-02-27 18:44:32 +00:00
parent 97e276bdb5
commit 7e178d93df
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05

View File

@ -22,6 +22,8 @@
<!-- Expiry --> <!-- Expiry -->
<div class="my-3"> <div class="my-3">
<label class="form-label">{{ $t("Expiry date") }}</label> <label class="form-label">{{ $t("Expiry date") }}</label>
<div class="d-flex flex-row align-items-center">
<div class="col-6">
<Datepicker <Datepicker
v-model="key.expires" v-model="key.expires"
:dark="$root.isDark" :dark="$root.isDark"
@ -32,8 +34,9 @@
:required="!noExpire" :required="!noExpire"
:disabled="noExpire" :disabled="noExpire"
/> />
</div>
<div class="form-check mb-2"> <div class="col-6 ms-3">
<div class="form-check mb-0">
<input <input
id="no-expire" v-model="noExpire" class="form-check-input" id="no-expire" v-model="noExpire" class="form-check-input"
type="checkbox" type="checkbox"
@ -43,6 +46,8 @@
}}</label> }}</label>
</div> </div>
</div> </div>
</div>
</div>
<div class="modal-footer"> <div class="modal-footer">
<button <button