Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 31... Línea 31...
31
    Example context (json):
31
    Example context (json):
32
    {}
32
    {}
Línea 33... Línea 33...
33
 
33
 
34
}}
34
}}
35
<div>
35
<div>
36
    <div class="custom-control custom-switch mb-1">
36
    <div class="form-check form-switch mb-1">
37
        <input type="checkbox" class="custom-control-input" id="{{$switchid}}{{uniqid}}{{/switchid}}"
37
        <input type="checkbox" class="form-check-input" id="{{$switchid}}{{uniqid}}{{/switchid}}"
38
            data-type="{{$type}}toggle-switch{{/type}}" data-action="toggle"
38
            data-type="{{$type}}toggle-switch{{/type}}" data-action="toggle"
39
            {{$otherattributes}}{{/otherattributes}}>
39
            {{$otherattributes}}{{/otherattributes}}>
40
        <label class="custom-control-label" for="{{$switchid}}{{uniqid}}{{/switchid}}">
40
        <label class="form-check-label" for="{{$switchid}}{{uniqid}}{{/switchid}}">
41
            {{$labeltext}}{{/labeltext}}
41
            {{$labeltext}}{{/labeltext}}
42
        </label>
42
        </label>
43
    </div>
43
    </div>