| Línea 28... |
Línea 28... |
| 28 |
"name": "action",
|
28 |
"name": "action",
|
| 29 |
"value": "toggle-reality"
|
29 |
"value": "toggle-reality"
|
| 30 |
}],
|
30 |
}],
|
| 31 |
"title": "Title example",
|
31 |
"title": "Title example",
|
| 32 |
"label": "Enable/disable reality",
|
32 |
"label": "Enable/disable reality",
|
| 33 |
"labelclasses": "sr-only"
|
33 |
"labelclasses": "visually-hidden"
|
| 34 |
}
|
34 |
}
|
| 35 |
}}
|
35 |
}}
|
| Línea 36... |
Línea 36... |
| 36 |
|
36 |
|
| 37 |
<div class="custom-control custom-switch {{$extraclasses}}{{extraclasses}}{{/extraclasses}}">
|
37 |
<div class="form-check form-switch {{$extraclasses}}{{extraclasses}}{{/extraclasses}}">
|
| 38 |
<input type="checkbox" class="custom-control-input" id="{{$id}}{{id}}{{/id}}"
|
38 |
<input type="checkbox" class="form-check-input" id="{{$id}}{{id}}{{/id}}"
|
| 39 |
{{$attributes}}
|
39 |
{{$attributes}}
|
| 40 |
{{#dataattributes}}data-{{name}}="{{value}}" {{/dataattributes}}
|
40 |
{{#dataattributes}}data-{{name}}="{{value}}" {{/dataattributes}}
|
| 41 |
{{#checked}}checked{{/checked}}
|
41 |
{{#checked}}checked{{/checked}}
|
| 42 |
{{#disabled}}disabled{{/disabled}}
|
42 |
{{#disabled}}disabled{{/disabled}}
|
| 43 |
{{/attributes}}>
|
43 |
{{/attributes}}>
|
| 44 |
{{$labelmarkup}}
|
44 |
{{$labelmarkup}}
|
| 45 |
<label class="custom-control-label" for="{{$id}}{{id}}{{/id}}" {{#title}}data-toggle="tooltip" data-placement="top" title="{{title}}"{{/title}}>
|
45 |
<label class="form-check-label" for="{{$id}}{{id}}{{/id}}" {{#title}}data-bs-toggle="tooltip" data-bs-placement="top" title="{{title}}"{{/title}}>
|
| 46 |
<span class="{{$labelclasses}}{{labelclasses}}{{/labelclasses}}">{{$label}}{{label}}{{/label}}</span>
|
46 |
<span class="{{$labelclasses}}{{labelclasses}}{{/labelclasses}}">{{$label}}{{label}}{{/label}}</span>
|
| 47 |
</label>
|
47 |
</label>
|
| 48 |
{{/labelmarkup}}
|
48 |
{{/labelmarkup}}
|