Sha256: 78fdded5692d6f22b5b195d22ccba67be762e7f3ffee34261252a2a464ba4d2a
Contents?: true
Size: 588 Bytes
Versions: 6
Compression:
Stored size: 588 Bytes
Contents
<% if @helper?: %> <span class="helper"><%= @helper %>:</span> <div class="dropdown-with-helper-container"> <% end %> <select class="dropdown-list" <%= if @multiple: %>multiple<% end %> <%= if @placeholder?: %>data-placeholder='<%= @placeholder %>'<% end %>> <% for model in @models: %> <option <% if model.get('selected'): %>selected<% end %> <% if model.get('disabled'): %>disabled<% end %> <% if model.get('value'): %>value="<%= model.get('value') %>"<% end %> > <%= model.get('label') %> </option> <% end %> </select> <% if @helper?: %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems