Skip to content

Commit

Permalink
fix: training endorsement fields
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Sep 30, 2023
1 parent 95ce203 commit d78ec8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/endorsements/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ class="datepicker form-control"
:placeholder="expireInf && 'Never expires'"
v-bind:class="{'is-invalid': (validationError && expire == null)}">
<span v-show="validationError && expire == null" class="text-danger">Fill out a valid expire date</span>
<div class="form-check">
<input class="form-check-input" type="checkbox" v-model="expireInf" name="expireInf" id="expireinf" value="true">
<div class="form-check" v-show="trainingType == 'S1'">
<input class="form-check-input" type="checkbox" v-model="expireInf" name="expireInf" id="expireinf" value="true">
<label class="form-check-label" for="expireinf">
Infinte duration
</label>
Expand Down Expand Up @@ -147,7 +147,7 @@ class="form-control"
@endbrowser
@endforeach
</datalist>
<div class="dropdown float-end">
<div class="dropdown">
<button class="btn btn-sm btn-light dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Template
</button>
Expand Down Expand Up @@ -199,7 +199,7 @@ class="form-control"
</div>

{{-- Training Checkbox --}}
<div class="form-check" style="display: none" v-show="endorsementType == 'TRAINING' && trainingType == 'SOLO'">
<div class="form-check" class="mt-5" style="display: none" v-show="endorsementType == 'TRAINING' && trainingType == 'SOLO'">
<input class="form-check-input" type="checkbox" id="soloChecked" v-model="soloChecked">
<label class="form-check-label" for="soloChecked">
{{ Setting::get('trainingSoloRequirement') }}
Expand Down

0 comments on commit d78ec8a

Please sign in to comment.