Initial commit
This commit is contained in:
19
app/views/videos/_avid_fields.html.erb
Normal file
19
app/views/videos/_avid_fields.html.erb
Normal file
@@ -0,0 +1,19 @@
|
||||
<% if video.edl_file.attached? %>
|
||||
<div id="current-edl-file" class="mb-2">
|
||||
<div class="text-muted"><em>Current EDL file</em></div>
|
||||
<%= link_to video.edl_file do %>
|
||||
<%= fa_icon "file-text-o" %> <%= video.edl_file.filename %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= form.file_field :edl_file, label: "All Tracks EDL file", accept: '.edl', required: video.new_record?, label_class: "required" %>
|
||||
|
||||
<% if video.graphics_only_edl_file.attached? %>
|
||||
<div id="current-graphics-only-edl-file" class="mb-2">
|
||||
<div class="text-muted"><em>Current Graphics Only EDL file</em></div>
|
||||
<%= link_to video.graphics_only_edl_file do %>
|
||||
<%= fa_icon "file-text-o" %> <%= video.graphics_only_edl_file.filename %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= form.file_field :graphics_only_edl_file, accept: '.edl', label: "Graphics Only EDL file" %>
|
||||
Reference in New Issue
Block a user