mirror of
https://github.com/tabler/tabler.git
synced 2026-08-02 16:34:38 +04:00
feather icons update, input group with icons
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<input type="text" class="form-control{% if include.input-class %} {{ include.input-class }}{% endif %}" {% if include.placeholder %} placeholder="{{ include.placeholder }}" {% endif %}{% if include.value %} value="{{ include.value }}"{% endif %}>
|
||||
<input type="{{ include.type | default: 'text' }}" class="form-control{% if include.input-class %} {{ include.input-class }}{% endif %}" {% if include.placeholder %} placeholder="{{ include.placeholder }}" {% endif %}{% if include.value %} value="{{ include.value }}"{% endif %}>
|
||||
{% if include.append %}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
@@ -29,4 +29,18 @@
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if include.append-button %}
|
||||
{% assign buttons = include.append-button | split: ',' %}
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
{% for button in buttons %}
|
||||
{% assign b = button | split: ':' %}
|
||||
{% assign icon = b[0] %}
|
||||
{% assign description = b[1] %}
|
||||
|
||||
<a href="#" class="link-secondary{% unless forloop.first %} ml-2{% endunless %}" title="{{ description }}" data-toggle="tooltip">{% include ui/icon.html icon=icon %}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user