<commit_before><%= form_for(@statement, html: { class: "form-horizontal" }) do |f| %>
  <% if @statement.errors.any? %>
		<div class="alert alert-dismissible alert-danger col-lg-12">
	  	<button type="button" class="close" data-dismiss="alert">×</button>
      <ul>
      <% @statement.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>
  <div class="well bs-component col-lg-8">
	  <fieldset class="col-lg-6">
	    <legend>Statement</legend>
      <div class="form-group">
        <%= f.label :rwu_id, class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= f.number_field :rwu_id, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :title, class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= f.text_field :title, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label 'Content', class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= @statement.url ? link_to('Download', "http:#{@statement.url}") : "-- No Content Uploaded --" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :description, class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= f.text_area :description, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label" for="statement_youtube_url">YouTube URL</label>        
        <div class="col-lg-8">
          <%= f.text_field :youtube_url, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :approved, class: "col-lg-3 control-label" %>
        <div class="col-lg-8 checkbox-left">
          <%= f.check_box :approved, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :campaign_id, class: "col-lg-3 control-label" %>
        <div class="col-lg-8"><commit_msg>reminds self that nil and "" are different<commit_after><%= form_for(@statement, html: { class: "form-horizontal" }) do |f| %>
  <% if @statement.errors.any? %>
		<div class="alert alert-dismissible alert-danger col-lg-12">
	  	<button type="button" class="close" data-dismiss="alert">×</button>
      <ul>
      <% @statement.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>
  <div class="well bs-component col-lg-8">
	  <fieldset class="col-lg-6">
	    <legend>Statement</legend>
      <div class="form-group">
        <%= f.label :rwu_id, class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= f.number_field :rwu_id, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :title, class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= f.text_field :title, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label 'Content', class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= !@statement.url.blank? ? link_to('Download', "http:#{@statement.url}") : "-- No Content Uploaded --" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :description, class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
          <%= f.text_area :description, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <label class="col-lg-3 control-label" for="statement_youtube_url">YouTube URL</label>        
        <div class="col-lg-8">
          <%= f.text_field :youtube_url, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :approved, class: "col-lg-3 control-label" %>
        <div class="col-lg-8 checkbox-left">
          <%= f.check_box :approved, class: "form-control" %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :campaign_id, class: "col-lg-3 control-label" %>
        <div class="col-lg-8">
{'fraction_non_alphanumeric': 0.20479041916167665, 'fraction_numerical': 0.008622754491017964, 'mean_word_length': 2.254871395167576, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '7131362', 'n_tokens_mistral': 1527, 'n_tokens_neox': 1428, 'n_words': 281}