<% # TODO: Is there a way to consolidate this with the main template? %>
<% if video.analysis_pending? %>
  <div class="p-3 text-center text-muted">
    <%= fa_icon "cog spin" %> Video is still being analyzed
  </div>
<% else %>
  <div class="border p-3 text-center text-muted">
    <p>Video analysis has completed!</p>
    <%= link_to "", class: "btn btn-sm btn-success" do %>
      <%= fa_icon "refresh" %> Refresh
    <% end %>
  </div>
<% end %>
