Added status attribute to videos; added ability to edit video status and serial independently

This commit is contained in:
2023-03-06 17:59:58 -05:00
parent f243452783
commit 4735047682
5 changed files with 63 additions and 0 deletions

View File

@ -20,6 +20,9 @@
<div class="video-serial">
<p>Serial: <span><%= serialize(video.serial) %></span></p>
</div>
<div class="video-status">
<p>Status: <span><%= video.status.capitalize() %></span></p>
</div>
<div class="video-path">
<p><span><%= video.directory_path %></span></p>
</div>
@ -41,3 +44,5 @@
</div>
</div>
</div>
<input type="hidden" id="video-id" value="<%= video.id %>">