Sha256: c23ca49ece248177410e0848d1c5e596fe6038369c739164605d68a623c1a86a
Contents?: true
Size: 892 Bytes
Versions: 7
Compression:
Stored size: 892 Bytes
Contents
{%- assign name = include.field[0] -%} {%- assign id = include.field[1].id | default: name -%} {%- assign label = include.field[1].label[site.locale] -%} {%- assign help = include.field[1].help[site.locale] -%} {%- assign autocomplete = include.field[1].autocomplete -%} <div class="form-group {{ include.field[1].class }}"> <label for="{{ id }}"> {{ label }} {% if include.field[1].required %}*{% endif %} </label> <input {% if help %} aria-describedby="help-{{ id }}" {% endif %} {% if include.field[1].required %} required {% endif %} type="{{ include.field[1].type }}" name="{{ name }}" id="{{ id }}" {% if autocomplete %} autocomplete="{{ autocomplete }}" {% endif %} class="form-control" /> {%- if help -%} <small id="help-{{ id }}" class="form-text"> {{ help }} </small> {%- endif -%} </div>
Version data entries
7 entries across 7 versions & 1 rubygems