<commit_before><div class="bg-image" style="background-image: url('<%=asset_path "bg-red.jpg"%>')";>
  <div class="bg-primary-dark-op">
    <section class="content content-full content-boxed">
      <div class="push-100-t push-50 text-center">
        <h1 class="h2 text-white push-10 animated fadeInDown" data-toggle="appear" data-class="animated fadeInDown"> <%= @event.name %></h1>
        <h2 class="h4 text-white-op animated fadeInDown" data-toggle="appear" data-class="animated fadeInDown"><%= @event.start_at.strftime("Data %d/%m/%Y") %></h2>
      </div>
    </section>
  </div>
</div>

<div class="bg-white">
  <section class="content content-mini content-mini-full content-boxed overflow-hidden">
    <ol class="breadcrumb">
      <li><a class="text-primary-dark" href="/events">Eventos</a></li>
      <li><%= @event.name %></li>
    </ol>
  </section>
</div>

<section class="content content-boxed overflow-hidden">
  <div class="row">
    <div class="col-md-8">
      <div class="block block-rounded">
        <div class="block-content">
          <h3 class="h4 push-20 animated fadeIn" data-toggle="appear">Descrição do Evento</h3>
          <%= @event.description.html_safe %>
          <br>
          <br>
          <br>
          <h3 class="h4 push-20 animated fadeIn" data-toggle="appear">Local</h3>
          <%= @event.local.html_safe %>
          <!--<table class="table table-borderless table-vcenter">-->
          <!--<tbody>-->
          <!--<tr class="active">-->
          <!--<th style="width: 50px;"></th>-->
          <!--<th>1. Intro</th>-->
          <!--<th class="font-s12 text-right">-->
          <!--<span class="text-muted">0.2 hours</span>-->
          <!--</th>-->
          <!--</tr>-->
          <!--<tr>-->
          <!--<td class="success text-center">-->
          <!--<i class="fa fa-fw fa-unlock text-success"></i>-->
          <!--</td>-->
          <!--<td>-->
          <!--<a href="frontend_elearning_lesson.php">1.1 HTML5 Intro (free preview)</a>-->
          <!--</td>-->
          <!--<td class="text-right">-->
          <!--<em class="font-s12 text-muted">12 min</em>-->
          <!--</td>-->
          <!--</tr>-->
          <!--</tbody>-->
          <!--</table>-->



        </div>

      </div>
    </div>
    <div class="col-md-4">
      <div class="block block-rounded">
        <div class="block-content">
          <%if @event.event_happened?%>
              <center>Este evento já aconteceu</center>
          <%else%>
              <% if user_signed_in?  %>

                  <%if @event.is_registrated?(current_user.id)%>
                      <center>Voçê já esta registrado neste evento</center>
                  <%else%>
                      <%= simple_form_for :register, { url: register_events_path(:id=>@event.id, :user_id=>current_user.id) } do |f| %>

                          <%if current_user.cpf.blank?%>
                              <%= f.label :cpf ,"CPF"%>
                              <%= f.text_field :cpf  ,class:"form-control  cpf"%>
                          <%end%>

                          <br>
                          <%= f.submit "Inscrever-se", data: { disable_with: "Cadastrando..." } ,class: "btn btn-block btn-rounded btn-noborder btn-success push-10"%>
                      <% end %>
                  <% end %>

              <%else%>
                  <%= link_to new_user_session_path, :class => 'btn btn-block btn-rounded btn-noborder btn-success push-10' do %>
                      Inscrever-se
                  <% end %>
              <%end%>
          <%end%>

        </div>
      </div>
      <div class="block block-rounded">
        <div class="block-header bg-gray-lighter text-center">
          <h3 class="block-title">Sobre este Evento</h3>
        </div>
        <div class="block-content">
          <table class="table table-borderless table-condensed">
            <tbody>
            <tr>
              <td>
                <!--<i class="fa fa-fw fa-book push-10-r"></i> 3 palestras-->
              </td>
            </tr>
            <tr>
              <td>
                <i class="fa fa-fw fa-clock-o push-10-r"></i> <%=@event.event_duration%> horas duração
              </td>
            </tr>
            <tr>
              <td>
                <i class="fa fa-fw fa-user push-10-r"></i> <%= @event.participants_limit %> Total de Vagas
              </td>
            </tr>
            <%unless  @event.event_happened?%>
                <tr>
                  <td>
                    <i class="fa fa-fw fa-user push-10-r"></i> <%= @event.remaining_vacancies%> Vagas Restantes
                  </td>
                </tr>
            <%end%>

            <!--<tr>-->
            <!--<td>-->
            <!--<i class="fa fa-fw fa-tags push-10-r"></i>-->
            <!--<a class="label label-primary" href="javascript:void(0)">HTML</a>-->
            <!--<a class="label label-primary" href="javascript:void(0)">CSS</a>-->
            <!--<a class="label label-primary" href="javascript:void(0)">JavaScript</a>-->
            <!--</td>-->
            <!--</tr>-->
            </tbody>
          </table>
        </div>
      </div>
      <!--<a class="block block-rounded block-link-hover3" href="javascript:void(0)">-->
      <!--<div class="block-header bg-gray-lighter text-center">-->
      <!--<h3 class="block-title">About The Instructor</h3>-->
      <!--</div>-->
      <!--<div class="block-content block-content-full text-center">-->
      <!--<div class="push">-->
      <!--<img class="img-avatar" src="assets/img/avatars/avatar14.jpg" alt="">-->
      <!--</div>-->
      <!--<div class="font-w600 push-5"><NAME></div>-->
      <!--<div class="text-muted">Front-end Developer</div>-->
      <!--</div>-->
      <!--</a>-->
    </div>
  </div>
</section>
<div class="bg-gray-lighter">
  <section class="content content-full content-boxed">
    <div class="push-20-t push-20 text-center">
      <h3 class="h4 push-20 animated fadeIn" data-toggle="appear"></h3>
      <h3>Apoiadores</h3>
      <br>
      <% if @event.partners.any? %>

          <div class="content-grid">
            <div class="row">

              <% @event.partners.order(:order).each_with_index do |partner,index| %>
                  <div class="col-xs-3">
                    <div class="block" style="display: inline-flex; width: 100%;">
<div block-content style="align-self: center; padding-top: 0px;>
                  
                      
                        <%#= link_to partner.name, partner %>

                        <%= link_to url_with_protocol(partner.link) ,target: "_blank" do%>
                            <%= show_by_file_type(partner.logo) %>
                        <%end%>
                        <%#= t(partner.category) %>
                      </div>
                    </div>
                  </div>
              <% end %>



            </div>
          </div>
      <% else %>
          <p>
            Sem patrocinador cadastrado neste evento!

          </p>
      <% end %>

      <h3>Brindes</h3>
      <br>
      <% if @event.gifts.any? %>

          <div class="content-grid">
            <div class="row">
<commit_msg>Update show.html.erb<commit_after><div class="bg-image" style="background-image: url('<%=asset_path "bg-red.jpg"%>')";>
  <div class="bg-primary-dark-op">
    <section class="content content-full content-boxed">
      <div class="push-100-t push-50 text-center">
        <h1 class="h2 text-white push-10 animated fadeInDown" data-toggle="appear" data-class="animated fadeInDown"> <%= @event.name %></h1>
        <h2 class="h4 text-white-op animated fadeInDown" data-toggle="appear" data-class="animated fadeInDown"><%= @event.start_at.strftime("Data %d/%m/%Y") %></h2>
      </div>
    </section>
  </div>
</div>

<div class="bg-white">
  <section class="content content-mini content-mini-full content-boxed overflow-hidden">
    <ol class="breadcrumb">
      <li><a class="text-primary-dark" href="/events">Eventos</a></li>
      <li><%= @event.name %></li>
    </ol>
  </section>
</div>

<section class="content content-boxed overflow-hidden">
  <div class="row">
    <div class="col-md-8">
      <div class="block block-rounded">
        <div class="block-content">
          <h3 class="h4 push-20 animated fadeIn" data-toggle="appear">Descrição do Evento</h3>
          <%= @event.description.html_safe %>
          <br>
          <br>
          <br>
          <h3 class="h4 push-20 animated fadeIn" data-toggle="appear">Local</h3>
          <%= @event.local.html_safe %>
          <!--<table class="table table-borderless table-vcenter">-->
          <!--<tbody>-->
          <!--<tr class="active">-->
          <!--<th style="width: 50px;"></th>-->
          <!--<th>1. Intro</th>-->
          <!--<th class="font-s12 text-right">-->
          <!--<span class="text-muted">0.2 hours</span>-->
          <!--</th>-->
          <!--</tr>-->
          <!--<tr>-->
          <!--<td class="success text-center">-->
          <!--<i class="fa fa-fw fa-unlock text-success"></i>-->
          <!--</td>-->
          <!--<td>-->
          <!--<a href="frontend_elearning_lesson.php">1.1 HTML5 Intro (free preview)</a>-->
          <!--</td>-->
          <!--<td class="text-right">-->
          <!--<em class="font-s12 text-muted">12 min</em>-->
          <!--</td>-->
          <!--</tr>-->
          <!--</tbody>-->
          <!--</table>-->



        </div>

      </div>
    </div>
    <div class="col-md-4">
      <div class="block block-rounded">
        <div class="block-content">
          <%if @event.event_happened?%>
              <center>Este evento já aconteceu</center>
          <%else%>
              <% if user_signed_in?  %>

                  <%if @event.is_registrated?(current_user.id)%>
                      <center>Voçê já esta registrado neste evento</center>
                  <%else%>
                      <%= simple_form_for :register, { url: register_events_path(:id=>@event.id, :user_id=>current_user.id) } do |f| %>

                          <%if current_user.cpf.blank?%>
                              <%= f.label :cpf ,"CPF"%>
                              <%= f.text_field :cpf  ,class:"form-control  cpf"%>
                          <%end%>

                          <br>
                          <%= f.submit "Inscrever-se", data: { disable_with: "Cadastrando..." } ,class: "btn btn-block btn-rounded btn-noborder btn-success push-10"%>
                      <% end %>
                  <% end %>

              <%else%>
                  <%= link_to new_user_session_path, :class => 'btn btn-block btn-rounded btn-noborder btn-success push-10' do %>
                      Inscrever-se
                  <% end %>
              <%end%>
          <%end%>

        </div>
      </div>
      <div class="block block-rounded">
        <div class="block-header bg-gray-lighter text-center">
          <h3 class="block-title">Sobre este Evento</h3>
        </div>
        <div class="block-content">
          <table class="table table-borderless table-condensed">
            <tbody>
            <tr>
              <td>
                <!--<i class="fa fa-fw fa-book push-10-r"></i> 3 palestras-->
              </td>
            </tr>
            <tr>
              <td>
                <i class="fa fa-fw fa-clock-o push-10-r"></i> <%=@event.event_duration%> horas duração
              </td>
            </tr>
            <tr>
              <td>
                <i class="fa fa-fw fa-user push-10-r"></i> <%= @event.participants_limit %> Total de Vagas
              </td>
            </tr>
            <%unless  @event.event_happened?%>
                <tr>
                  <td>
                    <i class="fa fa-fw fa-user push-10-r"></i> <%= @event.remaining_vacancies%> Vagas Restantes
                  </td>
                </tr>
            <%end%>

            <!--<tr>-->
            <!--<td>-->
            <!--<i class="fa fa-fw fa-tags push-10-r"></i>-->
            <!--<a class="label label-primary" href="javascript:void(0)">HTML</a>-->
            <!--<a class="label label-primary" href="javascript:void(0)">CSS</a>-->
            <!--<a class="label label-primary" href="javascript:void(0)">JavaScript</a>-->
            <!--</td>-->
            <!--</tr>-->
            </tbody>
          </table>
        </div>
      </div>
      <!--<a class="block block-rounded block-link-hover3" href="javascript:void(0)">-->
      <!--<div class="block-header bg-gray-lighter text-center">-->
      <!--<h3 class="block-title">About The Instructor</h3>-->
      <!--</div>-->
      <!--<div class="block-content block-content-full text-center">-->
      <!--<div class="push">-->
      <!--<img class="img-avatar" src="assets/img/avatars/avatar14.jpg" alt="">-->
      <!--</div>-->
      <!--<div class="font-w600 push-5"><NAME></div>-->
      <!--<div class="text-muted">Front-end Developer</div>-->
      <!--</div>-->
      <!--</a>-->
    </div>
  </div>
</section>
<div class="bg-gray-lighter">
  <section class="content content-full content-boxed">
    <div class="push-20-t push-20 text-center">
      <h3 class="h4 push-20 animated fadeIn" data-toggle="appear"></h3>
      <h3>Apoiadores</h3>
      <br>
      <% if @event.partners.any? %>

          <div class="content-grid">
            <div class="row">

              <% @event.partners.order(:order).each_with_index do |partner,index| %>
                <div class="col-xs-3">
                    <div class="block" style="display: inline-flex; width: 100%;">
                      <div class="block-content" style="align-self: center; padding-top: 0px;" >
                  
                      
                        <%#= link_to partner.name, partner %>

                        <%= link_to url_with_protocol(partner.link) ,target: "_blank" do%>
                            <%= show_by_file_type(partner.logo) %>
                        <%end%>
                        <%#= t(partner.category) %>
                      </div>
                    </div>
                  </div>
              <% end %>



            </div>
          </div>
      <% else %>
          <p>
            Sem patrocinador cadastrado neste evento!

          </p>
      <% end %>

      <h3>Brindes</h3>
      <br>
      <% if @event.gifts.any? %>

          <div class="content-grid">
            <div class="row">

{'fraction_non_alphanumeric': 0.20070838252656434, 'fraction_numerical': 0.012084172511979999, 'mean_word_length': 1.5437201907790143, 'pattern_counts': {'":': 0, '<': 507, '<?xml version=': 0, '>': 513, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3602705', 'n_tokens_mistral': 4772, 'n_tokens_neox': 4462, 'n_words': 847}