Files
old-holivud2/app/views/video_analyses/_audio_confirmations.html.erb
2020-05-31 22:38:19 +02:00

37 lines
1.2 KiB
Plaintext

<% if audio_confirmations.any? %>
<div class="table-responsive">
<table class="table-striped table-sm w-100" style="table-layout: fixed;">
<thead>
<tr>
<th style="width: 5%;"></th>
<th style="">EDL #</th>
<th style="">EDL TC</th>
<th style="">VID TC</th>
<th style="">Filename</th>
<th style="width: 10%;"></th>
</tr>
</thead>
<tbody>
<% audio_confirmations.each do |audio_confirmation| %>
<tr data-audio-id="<%= audio_confirmation.id %>">
<td></td>
<td></td>
<td><%= audio_confirmation.timecode_in %></td>
<td><a data-behavior="seekable-timecode"><%= audio_confirmation.appears_at %></a></td>
<td><%= audio_confirmation.source_file_name %></td>
<td>
<%= link_to fa_icon("trash fw"), audio_confirmation_path(audio_confirmation), method: :delete, class: "btn btn-danger btn-sm", remote: true %>
</td>
</tr>
<% end %>
</tbody>
</table>
</div>
<% else %>
<div class="card-body">
<div class="text-center text-muted py-2">
Music Releases that have been added to the report will appear here
</div>
</div>
<% end %>