Sha256: 99e009003cea8a0e7d7c072e5e11581af697855aa4ef63be9d999c481718a470
Contents?: true
Size: 1.12 KB
Versions: 55
Compression:
Stored size: 1.12 KB
Contents
{% assign options = include.options | split: "|" %} {% assign question_slug = include.question | slugify %} <div id="control-input__{{ question_slug}}" class="{{ include.className}}"> <label class="uikit-text-input__label" id="control-input__{{ question_slug}}">{{include.question}}</label> {% for option in options %} {% assign option_slug = option | slugify %} <p> <label class="uikit-control-input" for="{{ question_slug }}__{{ option_slug }}"> <input {% if include.required %}data-parsley-required{% endif %} aria-describedby="control-input--{{ question_slug}}" class="uikit-control-input__input" id="{{ question_slug }}__{{ option_slug }}" name="{{ question_slug }}" type="{{ include.type | default: 'radio' }}" data-parsley-errors-container="#control-input__{{ question_slug }}" data-parsley-error-message="{{ include.validation_message }}" data-value="{{ option }}" value="{{ question_slug }}__{{ option_slug }}"> <span class="uikit-control-input__text">{{ option }}</span> </label> </p> {% endfor %} </div>
Version data entries
55 entries across 55 versions & 1 rubygems