1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-01 07:54:38 +04:00

input-group-flat

This commit is contained in:
codecalm
2020-01-10 23:33:10 +01:00
parent 15c85ac558
commit ab91ac0f26
5 changed files with 71 additions and 4 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ bootstrap-link: components/forms/
<div class="mb-2">
<label class="form-label">Your vanity URL</label>
{% include ui/form/input-group.html prepend="https://example.com/users/" %}
{% include ui/form/input-group.html prepend="https://tabler.io/users/" %}
</div>
<div class="mb-2">
@@ -4,6 +4,7 @@
</div>
<div class="mb-3">
<label class="form-label">Text</label>
<div class="form-hint">Here's some more info.</div>
<input type="text" class="form-control" name="example-text-input" placeholder="Text..">
</div>
<div class="mb-3">
+7 -2
View File
@@ -9,8 +9,13 @@
</div>
<div class="mb-3">
<label class="form-label">Your vanity URL</label>
{% include ui/form/input-group.html prepend="https://example.com/users/" %}
<label class="form-label">Your custom URL</label>
{% include ui/form/input-group.html prepend="https://tabler.io/users/" class="input-group-flat" input-class="pl-0" %}
</div>
<div class="mb-3">
<label class="form-label">Your custom subdomain</label>
{% include ui/form/input-group.html append=".tabler.io" input-class="text-right pr-0" class="input-group-flat" %}
</div>
<div class="mb-3">
+1 -1
View File
@@ -4,7 +4,7 @@
<span class="input-group-text">{{ include.prepend }}</span>
</div>
{% endif %}
<input type="text" class="form-control"{% if include.placeholder %} placeholder="{{ include.placeholder }}"{% endif %}{% if include.placeholder %} value="{{ include.value }}"{% endif %}>
<input type="text" class="form-control{% if include.input-class %} {{ include.input-class }}{% endif %}"{% if include.placeholder %} placeholder="{{ include.placeholder }}"{% endif %}{% if include.placeholder %} value="{{ include.value }}"{% endif %}>
{% if include.append %}
<div class="input-group-append">
<span class="input-group-text">{{ include.append }}</span>