Sha256: 1075e9e8809aa1c02b90be19d0010556c9137cf8c942b6431f61b2e92f56ed5f
Contents?: true
Size: 691 Bytes
Versions: 22
Compression:
Stored size: 691 Bytes
Contents
<% options ||= [] id ||= false label ||= false full_width ||= false select_helper = GovukPublishingComponents::Presenters::SelectHelper.new(options) data_module = "data-module=track-select-change" unless select_helper.data_tracking?.eql?(false) %> <% if options.any? && id && label %> <div class="govuk-form-group gem-c-select"> <label class="govuk-label" for="<%= id %>"> <%= label %> </label> <select class="govuk-select <%= 'gem-c-select__select--full-width' if full_width %>" id="<%= id %>" name="<%= id %>" <%= data_module %> > <%= options_for_select(select_helper.option_markup, select_helper.selected_option) %> </select> </div> <% end %>
Version data entries
22 entries across 22 versions & 1 rubygems