<commit_before><!-- Go to www.addthis.com/dashboard to customize your tools -->
Share this battle! <div class="addthis_sharing_toolbox"></div>


<%if @public_arena.close? && @challengee_video %>
  <h5>Voting is now closed</h5>
<%elsif @public_arena.close? && @challengee_video == nil%>
  <h5>Arena is closed.</h5>
<%end%>



<%= @challenger_video.title %><br>

<div class=”jumbotron”>
<video width="320" height="240" controls>
      <source src= <%=@challenger_video.data_content %> type="video/mp4"/>
 Your browser does not support the video tag.
</video>
</div>

<%= image_tag(@user.avatar, width: "50") %> <%= link_to @user.username, user_path(@user)%><br>

<% if @public_arena.in_battle? %>
    <div id= 'challenger_votes'><%= @challenger_video.votes.count%></div>
    <%= link_to image_tag("arrow_up.gif", width: "50"), video_votes_path(@challenger_video, @vote), id: "challenger_vote_link",  method: :post%><br><br>

    <%= link_to image_tag("arrow_down.gif", width: "50"), video_votes_path(@challengee_video, @vote), id: "challengee_vote_link", method: :post %><br>
    <div id= 'challengee_votes'><%= @challengee_video.votes.count%></div>
<%end%>

<% if @public_arena.close? && @challengee_video %>
  <div id= 'challenger_votes'><%= @challenger_video.votes.count%></div>
    <%= image_tag("arrow_up.gif", width: "50")%><br><br>
    <%= image_tag("arrow_down.gif", width: "50")%><br>
  <div id= 'challengee_votes'><%= @challengee_video.votes.count%></div>
<%end%>

<%if @challengee_video%>

  <%= @challengee_video.title %><br>

<div class=”jumbotron”>
<video width="320" height="240" controls>
      <source src= <%=@challengee_video.data_content %> type="video/mp4"/>
 Your browser does not support the video tag.
</video>
</div>
<%= image_tag(@challengee_user.avatar, width: "50")%> <%= link_to @challengee_user.username, user_path(@user)%>
<%end%>

<% if @public_arena.open? %>
    <%= link_to 'Step into the Arena', edit_video_public_arena_path(@challenger_video,@public_arena) %>
<%end%>
<commit_msg>working on changing vote buttons<commit_after><!-- Go to www.addthis.com/dashboard to customize your tools -->
Share this battle! <div class="addthis_sharing_toolbox"></div>


<%if @public_arena.close? && @challengee_video %>
  <h5>Voting is now closed</h5>
<%elsif @public_arena.close? && @challengee_video == nil%>
  <h5>Arena is closed.</h5>
<%end%>



<%= @challenger_video.title %><br>

<div class=”jumbotron”>
<video width="320" height="240" controls>
      <source src= <%=@challenger_video.data_content %> type="video/mp4"/>
 Your browser does not support the video tag.
</video>
</div>

<%= image_tag(@user.avatar, width: "50") %> <%= link_to @user.username, user_path(@user)%><br>

<% if @public_arena.in_battle? %>
    <div id= 'challenger_votes'><%= @challenger_video.votes.count%></div>
    <%= link_to image_tag("arrow_up.gif", width: "50"), video_votes_path(@challenger_video, @vote), id: "challenger_vote_link",  method: :post%><br><br>

    <%= link_to image_tag("arrow_down.gif", width: "50"), video_votes_path(@challengee_video, @vote), id: "challengee_vote_link", method: :post %><br>
    <div id= 'challengee_votes'><%= @challengee_video.votes.count%></div>
<%end%>

<% if @public_arena.close? && @challengee_video %>
  <div id= 'challenger_votes'><%= @challenger_video.votes.count%></div>
    <%= image_tag("arrow_up.gif", width: "50", :class => "arrow_down") %><br><br>
    <%= image_tag("arrow_down.gif", width: "50", :class =>"arrow_down") %><br>
  <div id= 'challengee_votes'><%= @challengee_video.votes.count%></div>
<%end%>

<%if @challengee_video%>

  <%= @challengee_video.title %><br>

<div class=”jumbotron”>
<video width="320" height="240" controls>
      <source src= <%=@challengee_video.data_content %> type="video/mp4"/>
 Your browser does not support the video tag.
</video>
</div>
<%= image_tag(@challengee_user.avatar, width: "50")%> <%= link_to @challengee_user.username, user_path(@user)%>
<%end%>

<% if @public_arena.open? %>
    <%= link_to 'Step into the Arena', edit_video_public_arena_path(@challenger_video,@public_arena) %>
<%end%>

{'fraction_non_alphanumeric': 0.20458984375, 'fraction_numerical': 0.0146484375, 'mean_word_length': 5.920608108108108, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2999578', 'n_tokens_mistral': 1731, 'n_tokens_neox': 1550, 'n_words': 302}