mirror of
https://github.com/tabler/tabler.git
synced 2026-08-25 20:34:25 +04:00
form elements, buttons
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{% assign icon = include.icon | default: 'search' %}
|
||||
{% capture addon %}
|
||||
<span class="input-icon-addon">
|
||||
{% include_cached ui/icon.html icon=icon %}
|
||||
</span>
|
||||
{% endcapture %}
|
||||
|
||||
<div class="input-icon{% if include.class %} {{ include.class }}{% endif %}">
|
||||
{% if include.prepend %}
|
||||
{{ addon }}
|
||||
{% endif %}
|
||||
|
||||
<input type="text" class="form-control" placeholder="{{ include.placeholder | default: 'Search for…' }}">
|
||||
|
||||
{% unless include.prepend %}
|
||||
{{ addon }}
|
||||
{% endunless %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user