<commit_before><div id="event">
  <div class="row">
    <div class="span8">
      <div class="title">
        <%= @event.title %>
      </div>
      <div class="description">
        <%= @event.description %>
      </div>

      

<% if !user_signed_in? %>
  <div class="bar">
    <h1>Sign Up!</h1>
  </div>
  
  <%= form_for(:user, :url => registration_path(:user), :html => { :id => "user_reg_embedded" } ) do |f| %>
    
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :name %></div>      
      </div>
      <div class="span5">
        <div><%= f.text_field :name %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :email %></div>      
      </div>
      <div class="span5">
        <div><%= f.email_field :email %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label "Phone Number (opt.)" %></div>      
      </div>
      <div class="span5">
        <div><%= f.telephone_field :phone %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :password %></div>      
      </div>
      <div class="span5">
        <div><%= f.password_field :password %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :password_confirmation %></div>      
      </div>
      <div class="span5">
        <div><%= f.password_field :password_confirmation %></div>
      </div>
    </div>
    <div class="row">
      <div class="span5 offset3" style="margin-top: 1em;">
        <%= f.submit "Sign up" %>
      </div>
    </div>
    
  <% end %>
<% end %>

      <div class="row">
        <div class="span4">
          <div class="bar">
            <h1>Project needs:</h1>
          </div>
          <h1>5 Volunteers</h1>
          
          <div class="bar-gray">materials & tools:</div>
          <h1>12 Bananas</h1>
        </div>
        <div class="span4">
          <div class="bar">
            <h1>I can:</h1>
          </div>
          <h1>Volunteer</h1>
          <div class="bar-gray">bring materials & tools:</div>
          <h1>5 bananas</h1>
        </div>
      </div>
    </div>

    <div class="span4">
      <div id="time-place">
        <div class="map">
          Map
        </div>
        
          <div class="small-title">
            address:
          </div>
          <div class="content">
            <%= @event.location %>
          </div>
          <div class="small-title">
            start:
          </div>
          <div class="content">
            <%= @event.starttime %>
          </div>
          <div class="small-title">
            end:
          </div>
          <div class="content">
            <%= @event.endtime %>
          </div>
          <hr>
          <div class="small-title">
            organizer:
          </div>
          <div class="content">
            <%= @event.organizer.name %>
          </div>
          <div class="small-title">
            email:
          </div>
          <div class="content">
            <%= @event.organizer.email %>
          </div>
          <% @phone = @event.organizer.phone %>
          <% if @phone != nil %>
            <div class="small-title">
              phone:
            </div>
            <div class="content">
              <%= @phone %>
            </div>
          <% end %>
      </div>
      <div id="time-place" style="padding-bottom: .75em;">
        <div class="bar">
          <h1>Invite a friend!</h1>
        </div>
        <div class="invitation">
          <div class="invitation">(logo) Email</div>
          <div class="invitation">(logo) Facebook</div>
          <div class="invitation">(logo) Twitter</div> 
        </div>   
      </div>
    </div>

  </div>

    <div style="margin-top:2em;">
      <%= link_to 'Edit', edit_event_path(@event) if @event.validate_edit_access(current_user) %> |
      <%= link_to 'Back', events_path %>
    </div>
</div><commit_msg>Update conditional to hide pipe seperator<commit_after><div id="event">
  <div class="row">
    <div class="span8">
      <div class="title">
        <%= @event.title %>
      </div>
      <div class="description">
        <%= @event.description %>
      </div>

      

<% if !user_signed_in? %>
  <div class="bar">
    <h1>Sign Up!</h1>
  </div>
  
  <%= form_for(:user, :url => registration_path(:user), :html => { :id => "user_reg_embedded" } ) do |f| %>
    
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :name %></div>      
      </div>
      <div class="span5">
        <div><%= f.text_field :name %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :email %></div>      
      </div>
      <div class="span5">
        <div><%= f.email_field :email %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label "Phone Number (opt.)" %></div>      
      </div>
      <div class="span5">
        <div><%= f.telephone_field :phone %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :password %></div>      
      </div>
      <div class="span5">
        <div><%= f.password_field :password %></div>
      </div>
    </div>
    <div class="row">
      <div class="span3">
        <div class="form-label"><%= f.label :password_confirmation %></div>      
      </div>
      <div class="span5">
        <div><%= f.password_field :password_confirmation %></div>
      </div>
    </div>
    <div class="row">
      <div class="span5 offset3" style="margin-top: 1em;">
        <%= f.submit "Sign up" %>
      </div>
    </div>
    
  <% end %>
<% end %>

      <div class="row">
        <div class="span4">
          <div class="bar">
            <h1>Project needs:</h1>
          </div>
          <h1>5 Volunteers</h1>
          
          <div class="bar-gray">materials & tools:</div>
          <h1>12 Bananas</h1>
        </div>
        <div class="span4">
          <div class="bar">
            <h1>I can:</h1>
          </div>
          <h1>Volunteer</h1>
          <div class="bar-gray">bring materials & tools:</div>
          <h1>5 bananas</h1>
        </div>
      </div>
    </div>

    <div class="span4">
      <div id="time-place">
        <div class="map">
          Map
        </div>
        
          <div class="small-title">
            address:
          </div>
          <div class="content">
            <%= @event.location %>
          </div>
          <div class="small-title">
            start:
          </div>
          <div class="content">
            <%= @event.starttime %>
          </div>
          <div class="small-title">
            end:
          </div>
          <div class="content">
            <%= @event.endtime %>
          </div>
          <hr>
          <div class="small-title">
            organizer:
          </div>
          <div class="content">
            <%= @event.organizer.name %>
          </div>
          <div class="small-title">
            email:
          </div>
          <div class="content">
            <%= @event.organizer.email %>
          </div>
          <% @phone = @event.organizer.phone %>
          <% if @phone != nil %>
            <div class="small-title">
              phone:
            </div>
            <div class="content">
              <%= @phone %>
            </div>
          <% end %>
      </div>
      <div id="time-place" style="padding-bottom: .75em;">
        <div class="bar">
          <h1>Invite a friend!</h1>
        </div>
        <div class="invitation">
          <div class="invitation">(logo) Email</div>
          <div class="invitation">(logo) Facebook</div>
          <div class="invitation">(logo) Twitter</div> 
        </div>   
      </div>
    </div>

  </div>

  <div style="margin-top:2em;">
    <% if @event.validate_edit_access(current_user) %>
      <%= link_to 'Edit', edit_event_path(@event) %> |
    <% end %>

    <%= link_to 'Back', events_path %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.1953229128801648, 'fraction_numerical': 0.009693444807948625, 'mean_word_length': 1.576154806491885, 'pattern_counts': {'":': 0, '<': 343, '<?xml version=': 0, '>': 349, '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': '5806259', 'n_tokens_mistral': 2812, 'n_tokens_neox': 2681, 'n_words': 545}