Sha256: f38903416b67f79dfcf3f5276afd9fbed3bd2beff66545c17dca668d1d939505
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
{% assign options = include.options | split: "|" %} {% assign question_slug = include.question | slugify %} <div id="control-input--{{ question_slug}}" class="{{ include.className}}"> <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="#parent__{{ question_slug }}" data-parsley-error-message="{{ include.validation_message }}" value="{{ question_slug }}__{{ option_slug }}"> <span class="uikit-control-input__text">{{ option }}</span> </label> </p> {% endfor %} </div>
Version data entries
4 entries across 4 versions & 1 rubygems