Sha256: 7b36e289212c83171e08409f9f714d752ca6090c672f6790a3e21b2e85d5e1ad
Contents?: true
Size: 913 Bytes
Versions: 9
Compression:
Stored size: 913 Bytes
Contents
<% if comp float_label = comp.options.select{|o| o.selected }.any? %> <div class="mdc-select"> <select id="<%= comp.id %>" name="<%= comp.name%>" class="mdc-select__native-control" <%= erb(:"components/event", locals: {events: comp.events, parent_id: comp.id}) %>> <% comp.options.each do |option| %> <option value="<%= option.value %>" <%= 'disabled' if option.disabled %> <%= 'selected' if option.selected %>> <%= option.text %> </option> <% end %> </select> <div class="mdc-select__label <%= 'mdc-floating-label--float-above' if float_label%>"><%= comp.label %></div> <div class="mdc-select__bottom-line"></div> </div> <%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems