Sha256: f86c78e9ee694e3eeee8afcee2a5534bac81f96b23484ce1296674adaefea975

Contents?: true

Size: 592 Bytes

Versions: 6

Compression:

Stored size: 592 Bytes

Contents

<% unless comp.lines_only %>
  <ul class="mdc-list
            <%= 'mdc-list--two-line' if comp.lines.select{|line| eq(line.type, :line) && line.subtitle }.any? %>
            <%= 'mdc-list--avatar-list' if comp.lines.select{|line| eq(line.type, :line) && line.avatar }.any? %>"
      data-total-lines="<%= comp.total_lines %>">
<% end %>
<% for line in comp.lines %>
  <%= erb :"components/list/#{line.type}", :locals => {:line => line} %>
<% end %>
<%= erb :"components/render", :locals => {:components => comp.components, :scope => nil} %>
<% unless comp.lines_only %>
  </ul>
<% end %>


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 views/mdc/components/list.erb
voom-presenters-0.1.12 views/mdc/components/list.erb
voom-presenters-0.1.11 views/mdc/components/list.erb
voom-presenters-0.1.10 views/mdc/components/list.erb
voom-presenters-0.1.9 views/mdc/components/list.erb
voom-presenters-0.1.8 views/mdc/components/list.erb