Modificación del de vista de dopcumentos del alumno
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
</div>
|
||||
|
||||
@elseif($tipoSlug === 'escala_5')
|
||||
<div class="d-flex flex-wrap" style="gap:.5rem;">
|
||||
<div class="d-flex flex-wrap escala-grupo" style="gap:.5rem;">
|
||||
@for($k = 1; $k <= 5; $k++)
|
||||
<div class="form-check form-check-inline mr-0">
|
||||
<input type="radio"
|
||||
@@ -67,7 +67,7 @@
|
||||
value="{{ $k }}"
|
||||
class="form-check-input d-none escala-input"
|
||||
{{ $pregunta->requerida ? 'required' : '' }}>
|
||||
<label class="btn btn-outline-primary px-3 py-2"
|
||||
<label class="btn btn-outline-primary px-3 py-2 escala-label"
|
||||
for="{{ $fieldId }}_{{ $k }}">{{ $k }}</label>
|
||||
</div>
|
||||
@endfor
|
||||
@@ -75,7 +75,7 @@
|
||||
</div>
|
||||
|
||||
@elseif($tipoSlug === 'escala_10')
|
||||
<div class="d-flex flex-wrap" style="gap:.5rem;">
|
||||
<div class="d-flex flex-wrap escala-grupo" style="gap:.5rem;">
|
||||
@for($k = 1; $k <= 10; $k++)
|
||||
<div class="form-check form-check-inline mr-0">
|
||||
<input type="radio"
|
||||
@@ -84,10 +84,20 @@
|
||||
value="{{ $k }}"
|
||||
class="form-check-input d-none escala-input"
|
||||
{{ $pregunta->requerida ? 'required' : '' }}>
|
||||
<label class="btn btn-outline-primary px-3 py-2"
|
||||
<label class="btn btn-outline-primary px-3 py-2 escala-label"
|
||||
for="{{ $fieldId }}_{{ $k }}">{{ $k }}</label>
|
||||
</div>
|
||||
@endfor
|
||||
<small class="text-muted align-self-center ml-2">1 = Muy malo 10 = Excelente</small>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@once
|
||||
<style>
|
||||
.escala-input:checked + .escala-label {
|
||||
background-color: #4e73df;
|
||||
border-color: #4e73df;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
@endonce
|
||||
|
||||
Reference in New Issue
Block a user