Sha256: 3142573d5be115a409dfcc4e4265a647bc45721d5d9c754d3310eeb4e6cd0243

Contents?: true

Size: 478 Bytes

Versions: 4

Compression:

Stored size: 478 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.selected?: %>selected<% end %> <% if model.disabled: %>disabled<% end %>><%= model.get('label') %></option>
  <% end %>
</select>
<% if @helper?: %>
</div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
atlas_assets-0.6.10 lib/assets/javascripts/templates/select.jst.eco
atlas_assets-0.6.9 lib/assets/javascripts/templates/select.jst.eco
atlas_assets-0.6.8 lib/assets/javascripts/templates/select.jst.eco
atlas_assets-0.6.7 lib/assets/javascripts/templates/select.jst.eco