Sha256: a1a87a2d5fc7fed448cabe0578a1da03968009f054e0ee7ed6cc876b00002750

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

<ul id="<%= comp.id %>"
  <% if comp.list_items.map{|li| li.icon ? 1 : 0}.sum > 0 %>
    class="icon-ul"
  <% else %>
    style="<%= "list-style: #{comp.list_style}" if comp.list_style %>"
  <% end %>>
<% for item in comp.list_items %>
  <%= erb :"components/unordered_list/list_item", :locals => {:list_item => item} %>
<% end %>
</ul>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 views/mdc/components/unordered_list.erb
voom-presenters-2.1.0 views/mdc/components/unordered_list.erb
voom-presenters-2.0.3 views/mdc/components/unordered_list.erb
voom-presenters-2.0.2 views/mdc/components/unordered_list.erb
voom-presenters-2.0.1 views/mdc/components/unordered_list.erb
voom-presenters-2.0.0 views/mdc/components/unordered_list.erb