<commit_before><% content_for :head do %>
  <%= stylesheet_link_tag 'records' %>
  <%= stylesheet_link_tag 'gray_wrap' %>
  <%= javascript_include_tag 'records' %>
<% end %>

<% provide(:page_title, "Show Record") %>

<div class="small-banner-image-container students-image"></div>

<div class="white-background">
  <div class="container">
    <div class="padding-sides">
      <h1 class="text-center">Confirmation</h1>

      <div class="preface-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eusimod accumsan est. Nonnec at bibendum tortor, vel elementum arcu. Duis quis nisi ac sem tempus elementum.</div>
    </div>
  </div>
</div>

<div class="gray-background">
  <div class="container padding-bottom">
    <div class="padding-sides"> 
      
      <div class="over-image-row">
        <h3 class="record-title"> <%= @record.title %></h3> 
      
          <div class="btn-group modify-record-button">
            <button type="button" class="btn btn-primary blue-button" id="delete-record-button" data-dismiss="modal">DELETE</button>
          </div>

          <div class="btn-group modify-record-button margin-right">
            <%= link_to "Edit", edit_record_path(@record), 
              :class => "btn btn-primary blue-button" %>
          </div>
        </div>

      <%= render 'delete_record_modal' %>


      <% if @record.content_type == "Image" %>
        <div class="record-display-container">
          <%= image_tag @record.file_upload.url(:medium), :alt => @record.title %>
        </div>

      <% elsif @record.content_type == "Video" %>
        <div class="record-display-container">
          <%= video_tag( @record.file_upload.url, poster: @record.file_upload.url(:medium), size: "300x300", class: "loaded-media loaded-video", controls: true, alt: @record.title ) %>
        </div>

      <% elsif @record.content_type == "Audio" %>
        <div class="record-display-container"><commit_msg>update records#show to use paperclip assigned file types to assess the kind of div in which to present item; remove padding; trigger modal on click of delete button<commit_after><% content_for :head do %>
  <%= stylesheet_link_tag 'records' %>
  <%= stylesheet_link_tag 'gray_wrap' %>
  <%= javascript_include_tag 'records' %>
<% end %>

<% provide(:page_title, "Show Record") %>

<div class="small-banner-image-container students-image"></div>

<div class="white-background">
  <div class="container">
    <div class="padding-sides">
      <h1 class="text-center">Confirmation</h1>

      <div class="preface-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eusimod accumsan est. Nonnec at bibendum tortor, vel elementum arcu. Duis quis nisi ac sem tempus elementum.</div>
    </div>
  </div>
</div>

<div class="gray-background">
  <div class="container">
    <div class="padding-sides"> 
      
      <div class="over-image-row">
        <h3 class="record-title"> <%= @record.title %></h3> 
      
          <div class="btn-group modify-record-button">
            <button type="button" class="btn gray-button" id="delete-record-button" data-dismiss="modal">DELETE</button>
          </div>

          <div class="btn-group modify-record-button margin-right">
            <%= link_to "Edit", edit_record_path(@record), 
              :class => "btn btn-primary blue-button" %>
          </div>
        </div>

      <%= render 'delete_record_modal' %>


      <% if @record.is_image? %>
        <div class="record-display-container">
          <%= image_tag @record.file_upload.url(:medium), :alt => @record.title %>
        </div>

      <% elsif @record.is_video? %>
        <div class="record-display-container">
          <%= video_tag( @record.file_upload.url, poster: @record.file_upload.url(:medium), size: "300x300", class: "loaded-media loaded-video", controls: true, alt: @record.title ) %>
        </div>

      <% elsif @record.is_audio? %>
        <div class="record-display-container">
{'fraction_non_alphanumeric': 0.1632241813602015, 'fraction_numerical': 0.005037783375314861, 'mean_word_length': 3.127858627858628, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1983462', 'n_tokens_mistral': 1327, 'n_tokens_neox': 1232, 'n_words': 277}