<% content_for :title do %>ビデオ講義<% end %>

<ol class="breadcrumb pull-right">
  <li><%= link_to 'TOP', top_path %></li>
  <li class="active">ビデオ講義</li>
</ol>

<h1 class="page-header">ビデオ講義</h1>
<div class="panel panel-inverse">
  <div class="panel-heading">
    <h4 class="panel-title fl">ビデオ講義</h4>
    <h4 class="panel-title pull-right" style="font-size: 10px;">翌木曜日更新</h4>
  </div>
  <div class="panel-body">
    <table class="table table-hover">
      <thead>
      <tr>
        <th>CLASS</th>
        <th>TITLE</th>
        <th>PDF</th>
      </tr>
      </thead>
      <tbody>
      <% @lecture_videos.each do |lecture_video| %>
        <tr>
          <td><%= lecture_video.group.name %></td>
          <td><%= link_to lecture_video.title, lecture_video_path(lecture_video) %></td>
          <td><%= "◯" if lecture_video.lecture_video_files.count >= 1 %></td>
        </tr>
      <% end %>
      </tbody>
    </table>
  </div>
</div>
