<commit_before><ol class="breadcrumb">
  <li><%=link_to 'Home', root_path %></li>
  <li class="active"><%=@event.title%></li>
</ol>

<p id="notice"><%= notice %></p>
<div class="row">
  <div class="col-sm-9">
    <h1 class="event-title"><%=@event.title%></h1>
    <p class="text-muted"><%=@event.pretty_dates%></p>
    <p><%=sanitize @event.description%></p>
  </div>
  <div class="col-sm-3">
    <%= render :partial => "registration"%>
  </div>
</div>
<hr />

<% if can? :create, Project then %>
    <h3>Submit an Idea</h3>
   <%=semantic_form_for @new_project do |f| -%>
    <%=f.text_field :title, :placeholder => "Submit your idea for #{@event.title}", :class => "tour-first-step form-control"%>
    <div id="project_details" style="display: none;">
    <%=f.input :description, :as => :text, :input_html => {:style => "width: 80%; height: 100px;"}, :placeholder => "Describe your idea"%>
    <%=f.input :event_id, :as => :hidden, :value => @event.id%>
    <%=f.input :repository%>
    <br />
    <%=f.submit "Submit idea", :class => "btn btn-primary" %> or <%=link_to "Cancel", event_path(@event)%>

    <script type="text/javascript">
      //$(document).ready(function(){
        $('#project_description').wysihtml5();<commit_msg>Remove the duplicate notice on event#show page<commit_after><ol class="breadcrumb">
  <li><%=link_to 'Home', root_path %></li>
  <li class="active"><%=@event.title%></li>
</ol>

<div class="row">
  <div class="col-sm-9">
    <h1 class="event-title"><%=@event.title%></h1>
    <p class="text-muted"><%=@event.pretty_dates%></p>
    <p><%=sanitize @event.description%></p>
  </div>
  <div class="col-sm-3">
    <%= render :partial => "registration"%>
  </div>
</div>
<hr />

<% if can? :create, Project then %>
    <h3>Submit an Idea</h3>
   <%=semantic_form_for @new_project do |f| -%>
    <%=f.text_field :title, :placeholder => "Submit your idea for #{@event.title}", :class => "tour-first-step form-control"%>
    <div id="project_details" style="display: none;">
    <%=f.input :description, :as => :text, :input_html => {:style => "width: 80%; height: 100px;"}, :placeholder => "Describe your idea"%>
    <%=f.input :event_id, :as => :hidden, :value => @event.id%>
    <%=f.input :repository%>
    <br />
    <%=f.submit "Submit idea", :class => "btn btn-primary" %> or <%=link_to "Cancel", event_path(@event)%>

    <script type="text/javascript">
      //$(document).ready(function(){
        $('#project_description').wysihtml5();
{'fraction_non_alphanumeric': 0.24494745351657235, 'fraction_numerical': 0.009700889248181084, 'mean_word_length': 4.2215189873417724, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 102, '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': '3602706', 'n_tokens_mistral': 951, 'n_tokens_neox': 905, 'n_words': 193}