2019-08-15 12:41:06 -05:00
|
|
|
<%- if @list && @list.topics.present? %>
|
2019-08-29 11:52:38 -05:00
|
|
|
<div class='topics-list' data-embed-state='loaded' <%- if @embed_id %>data-embed-id="<%= @embed_id %>"<%- end %>>
|
2019-08-15 12:41:06 -05:00
|
|
|
<%- @list.topics.each do |t| %>
|
2019-08-29 11:52:38 -05:00
|
|
|
<div class='topic-list-item'>
|
|
|
|
<div class='main-link'>
|
2019-08-15 12:41:06 -05:00
|
|
|
<a target="_parent" href="<%= t.url %>" class="title raw-link raw-topic-link" data-topic-id="<%= t.id %>"><%= t.title %></a>
|
2019-08-29 11:52:38 -05:00
|
|
|
</div>
|
2019-08-15 12:41:06 -05:00
|
|
|
</div>
|
|
|
|
<%- end %>
|
2019-08-29 11:52:38 -05:00
|
|
|
</div>
|
2019-08-15 12:41:06 -05:00
|
|
|
<%- end %>
|