Sha256: d46f625d5f7fbd5e2641f4c90ac3c6a6081de1e304b5ade1ec21f8de1f78a476

Contents?: true

Size: 1.36 KB

Versions: 48

Compression:

Stored size: 1.36 KB

Contents

{% assign id=include.id %}
{% assign name=include.id %}

{% if include.required %}
  {% assign required="data-parsley-required='true'" %}
{% endif %}

<p class="uikit-text-input__root {{ include.className | default: null }}">
  {% if include.label %}
    <label class="uikit-text-input__label" for="{{ include.id | default: id }}">
      {{ include.label }}
    </label>
  {% endif %}
  {% if include.hint %}
    <label class="uikit-text-input__hint" for="{{ include.id | default: id }}">{{ include.hint }}</label>
  {% endif %}
  <input
    class="uikit-text-input uikit-text-input--block"
    placeholder="{{ include.placeholder }}"
    type="{{ include.type | default: "text" }}"
    id="{{ include.id }}"
    value="{{ include.value | default: "" }}"
    name="{{ include.name | default: name }}"
    {{ required }}
    {% if include.step %}step="{{ include.step }}"{% endif %}
    {% if include.list %}list="{{ include.list }}"{% endif %}
    {% if include.pattern %}data-parsley-pattern="{{ include.pattern }}" pattern="{{ include.pattern }}"{% endif %}
    {% if include.validation_message %}data-parsley-error-message="{{ include.validation_message }}"{% endif %}
     {% if include.parsley_group %}data-parsley-group="{{ include.parsley_group }}"{% endif %}
  />
  {% if include.description %}
    <p class="uikit-text-input__description">{{ include.description }}</p>
  {% endif %}
</p>

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
dta_rapid-1.6.2 _includes/forms/text-field.html
dta_rapid-1.6.1 _includes/forms/text-field.html
dta_rapid-1.6.0 _includes/forms/text-field.html
dta_rapid-1.5.12 _includes/forms/text-field.html
dta_rapid-1.4.12 _includes/forms/text-field.html
dta_rapid-1.4.11 _includes/forms/text-field.html
dta_rapid-1.4.10 _includes/forms/text-field.html
dta_rapid-1.4.9 _includes/forms/text-field.html
dta_rapid-1.4.8 _includes/forms/text-field.html
dta_rapid-1.4.7 _includes/forms/text-field.html
dta_rapid-1.4.6 _includes/forms/text-field.html
dta_rapid-1.4.5 _includes/forms/text-field.html
dta_rapid-1.4.4 _includes/forms/text-field.html
dta_rapid-1.4.3 _includes/forms/text-field.html
dta_rapid-1.4.2 _includes/forms/text-field.html
dta_rapid-1.4.1 _includes/forms/text-field.html
dta_rapid-1.4.0 _includes/forms/text-field.html
dta_rapid-1.3.11 _includes/forms/text-field.html
dta_rapid-1.3.10 _includes/forms/text-field.html
dta_rapid-1.3.9 _includes/forms/text-field.html