Sha256: b4d865c2c314d08a492c70015ba0459596e76cb018e1a3ea50866e1a4b5c5392
Contents?: true
Size: 674 Bytes
Versions: 3
Compression:
Stored size: 674 Bytes
Contents
<% id ||= "input-#{SecureRandom.hex(4)}" hint_id ||= "hint-#{SecureRandom.hex(4)}" value ||= false error_message ||= false label ||= {} type ||= "text" %> <%= render "govuk_publishing_components/components/label", { text: label[:text], html_for: id, hint_text: error_message, hint_text_classes: "gem-c-input__label-error", hint_id: hint_id, bold: error_message ? true : false, } %> <input class="gem-c-input <%= "gem-c-input--error" if error_message %>" id="<%= id %>" name="<%= name %>" type="<%= type %>" <% if error_message %> aria-describedby="<%= hint_id %>" <% end %> <% if value %> value="<%= value %>" <% end %> >
Version data entries
3 entries across 3 versions & 1 rubygems