<commit_before>#page-wrapper
  .row
    .col-lg-12
      h1.page-header 
        = @admin_festival.title

    .col-md-8
      .panel.panel-default
        .panel-heading
          ' Festival Details
        .panel-body

          - if @admin_festival.end_date.blank?
            p DATE: #{@admin_festival.date.day.ordinalize} #{@admin_festival.date.strftime("%b %Y")}
          - elsif @admin_festival.date.present?
            p DATE: #{@admin_festival.date.day.ordinalize} to #{@admin_festival.end_date.day.ordinalize} #{@admin_festival.end_date.strftime("%b %Y")}
          - else
            p DATE: No Date !!!!!!!!!!!!!!

      .panel.panel-default
        .panel-heading
          ' Festival Content
        .panel-body

          - if @admin_festival.content.present?
            =  @admin_festival.content.html_safe
          - else
            p CONTENT: No Content !!!!!!!!!!

      .panel.panel-default
        .panel-body
          = link_to 'Edit', edit_admin_festival_path(@admin_festival), class: "btn btn-primary"
          '   
          = link_to 'Delete', admin_festival_path(@admin_festival), :method => :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger"
          '
          = link_to 'View Live', festival_path(:id => @festival.id), class: "btn btn-success"

    .col-md-4
      .panel.panel-default
        .panel-heading<commit_msg>Updates admin view live button<commit_after>#page-wrapper
  .row
    .col-lg-12
      h1.page-header 
        = @admin_festival.title

    .col-md-8
      .panel.panel-default
        .panel-heading
          ' Festival Details
        .panel-body

          - if @admin_festival.end_date.blank?
            p DATE: #{@admin_festival.date.day.ordinalize} #{@admin_festival.date.strftime("%b %Y")}
          - elsif @admin_festival.date.present?
            p DATE: #{@admin_festival.date.day.ordinalize} to #{@admin_festival.end_date.day.ordinalize} #{@admin_festival.end_date.strftime("%b %Y")}
          - else
            p DATE: No Date !!!!!!!!!!!!!!

      .panel.panel-default
        .panel-heading
          ' Festival Content
        .panel-body

          - if @admin_festival.content.present?
            =  @admin_festival.content.html_safe
          - else
            p CONTENT: No Content !!!!!!!!!!

      .panel.panel-default
        .panel-body
          = link_to 'Edit', edit_admin_festival_path(@admin_festival), class: "btn btn-primary"
          '   
          = link_to 'Delete', admin_festival_path(@admin_festival), :method => :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger"
          '
          = link_to 'View Live', festival_path(:id => @admin_festival.id), class: "btn btn-success"

    .col-md-4
      .panel.panel-default
        .panel-heading
{'fraction_non_alphanumeric': 0.14054054054054055, 'fraction_numerical': 0.0036036036036036037, 'mean_word_length': 2.033879781420765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2965121', 'n_tokens_mistral': 910, 'n_tokens_neox': 879, 'n_words': 157}