<%= button_to_video_release_confirmation video, releasable do %>
<% if releasable.photos.size > 1 %> <%= carousel_for releasable.photos, indicators: false, class: "carousel-bg-black" do |photo| %> <%= image_tag large_variant(photo), class: "figure-img img-fluid d-block w-100" %> <% end %> <% elsif releasable.photos.size == 1 %> <%= image_tag large_variant(releasable.photo), class: "img-fluid figure-img" %> <% else %>
No Photo
<% end %>
<%= truncate releasable.name, length: 25 %>
<% end %>