Sha256: 5390420b7a218e882ff3eff00bea7438c99af5d213520a26f1f923f3e8464e07

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

<% if page.attachments_by_type( "video" ).count > 0 %>
  <h1 class="videos"><%=t :videos %></h1>
  <div class="videos">
    <% for attachment in page.attachments_by_type( "video" ) %>
      <%= render partial: 'attachments/video', locals: { attachment: attachment } %>
    <% end %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/views/pages/_videos.html.erb
your_platform-1.0.0 app/views/pages/_videos.html.erb
your_platform-0.0.2 app/views/pages/_videos.html.erb