Skip to content

Commit

Permalink
Fix replacing uncut files
Browse files Browse the repository at this point in the history
  • Loading branch information
cavis committed Aug 8, 2023
1 parent d3bab98 commit 73ed8ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/episode_media/_form_uncut.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= form.fields_for :uncut, episode.uncut || episode.build_uncut do |fields| %>
<%= form.fields_for :uncut, episode.uncut || episode.build_uncut, include_id: false do |fields| %>
<%= turbo_frame_tag "episode-media-uncut" do %>

<div class="prx-uploads col-12 mb-4">
Expand Down
2 changes: 2 additions & 0 deletions app/views/episode_media/media/_complete.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<%= form.hidden_field :id %>

<div class="col-12 mb-4">
<div class="form-floating input-group prx-audio-player" data-controller="audio-player">
<button type="button" class="prx-play input-group-text prx-input-group-text" data-action="audio-player#play">
Expand Down

0 comments on commit 73ed8ef

Please sign in to comment.