Sha256: 53ec5843eb190965b1d992f21f463bf523948107f00a801d82b7b622e16da996
Contents?: true
Size: 764 Bytes
Versions: 9
Compression:
Stored size: 764 Bytes
Contents
{% assign options = include.options | split: "|" %} {% assign question_slug = include.question | slugify %} <fieldset id="parent__{{ question_slug }}"> <legend id="q-{{ question_slug }}">{{ include.question }}</legend> {% for option in options %} {% assign option_slug = option | slugify %} <label for="{{ option_slug }}"> <input {% if include.required %}data-parsley-required{% endif %} name="{{ question_slug }}" type="radio" id="{{ option_slug }}" value="{{ option_slug }}" aria-describedby="q-{{ question_slug}}" data-parsley-errors-container="#parent__{{ question_slug }}" data-parsley-error-message="{{ include.validation_message }}"> {{ option }}</label> {% endfor %} </fieldset>
Version data entries
9 entries across 9 versions & 1 rubygems