Sha256: 42624e55673d3ad110fd51ee0cd509785db09569d0614a3888b1623a2dfe1339
Contents?: true
Size: 561 Bytes
Versions: 10
Compression:
Stored size: 561 Bytes
Contents
<ul class="lessons-table__materials"> <% lesson.materials.map do |m| %> <% urls = material_urls(m, lesson) %> <li class="u-text--small"> <% if urls[:gdoc].present? %> <a class="lessons-table__materials--file" href="<%= urls[:gdoc] %>" target="_blank"> <i class="fab fa-google"></i></a> <% end %> <% if urls[:pdf].present? %> <a class="lessons-table__materials--file" href="<%= urls[:pdf] %>" target="_blank"> <i class="far fa-file-pdf"></i></a> <% end %> <%= link_to(m.identifier, m, target: '_blank') %> </li> <% end %> </ul>
Version data entries
10 entries across 10 versions & 1 rubygems