Sha256: d574c437c43473534938bbf5d9576959b98749dd4d10a50ddcff95e09a0d0056

Contents?: true

Size: 544 Bytes

Versions: 6

Compression:

Stored size: 544 Bytes

Contents

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

{% if include.required %}
  {% assign required="required" %}
{% endif %}

<div class="text-field">
  <label class="text-field__label" for="{{ include.id | default: id }}">
    {{ include.label }}
  </label>
  <input
    class="text-field__input"
    placeholder="{{ include.placeholder }}"
    type="{{ include.type | default: "text" }}"
    id="{{ include.id }}"
    value="{{ include.value | default: "" }}"
    name="{{ include.name | default: name }}"
    {{ required }}
  />
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dta_rapid-0.2.15 _includes/forms/text-field.html
dta_rapid-0.2.14 _includes/forms/text-field.html
dta_rapid-0.2.13 _includes/forms/text-field.html
dta_rapid-0.2.12 _includes/forms/text-field.html
dta_rapid-0.2.11 _includes/forms/text-field.html
dta_rapid-0.2.10 _includes/forms/text-field.html