mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
Move v1 views
This commit is contained in:
19
resources/views/form/checkbox.twig
Normal file
19
resources/views/form/checkbox.twig
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="{{ classes }}" id="{{ name }}_holder">
|
||||
<label for="{{ options.id }}" class="
|
||||
{% if options.small %}
|
||||
col-sm-8
|
||||
{% else %}
|
||||
col-sm-4
|
||||
{% endif %}
|
||||
control-label">{{ label }}</label>
|
||||
|
||||
<div class="{% if options.small %}col-sm-4{% else %}col-sm-8{% endif %}">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
{{ Form.checkbox(name, value, options.checked, options) }}
|
||||
</label>
|
||||
</div>
|
||||
{% include 'form.help' %}
|
||||
{% include 'form.feedback' %}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user