Skip to content

Commit 0b1cb2e

Browse files
committed
Added bootstrap4 specific templates
1 parent 388f3f4 commit 0b1cb2e

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% include 'multiple_input_option.html' %}

src/templates/bootstrap4/file.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<label class="custom-file">
2+
{% set attrs = attrs|merge({'class': 'custom-file-input'}) %}
3+
{% include 'input.html' %}
4+
<span class="custom-file-control"></span>
5+
</label>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div id="{{attrs.id}}" class="custom-controls-stacked">
2+
{% for option in options %}
3+
{% include option.template with option only %}
4+
{% endfor %}
5+
</div>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<label for="{{for|e}}" class="custom-control custom-{{ type|e }}">
2+
{% set attrs = attrs|merge({'class': 'custom-control-input'}) %}
3+
{% include 'input.html' %}
4+
<span class="custom-control-indicator"></span>
5+
<span class="custom-control-description">{{ label|e }}</span>
6+
</label>

0 commit comments

Comments
 (0)