anchor.diff:      </div>
       <% end %>
   
  -</div><!-- ./col-sm-9 -->+</div><!-- ./col-sm-9 -->
  +
  +<!-- Unchecks the checkbox on load -->
  +<script>
  +$(document).ready(function(){
  +    $('#accepted-terms').prop('checked',false);
  +});
  +</script>
positive.code:   </div>
  
      <!-- Check for errors -->
      <% if @permit.errors.any? || @terms_error != nil %>
        <div class="alert alert-danger">
          <p><strong>Sorry, there was a problem. Please check your answers.</strong></p>
        </div>
  
negative.code:         <div class="panel-heading">
              <h4>Agree to the permit application terms</h4>
          </div>
  
          <div class="panel-body">
                  <p>I have read the rules and information listed on this online and know the same to be true and correct and hereby agree that if the permit is issued, all provisions of the City Ordinance will be complied with whether herein specified or not. I understand that the permit belongs to the property owner and I am an authorized agent.</p>
                  <p><strong>If you agree, please type your full name as you listed it on the permit application (<%= @permit.owner_name %>) in the box below.</strong></p>
  
                  <% if @permit.errors.messages[:confirmed_name] != nil %>
                    <div class="alert alert-danger">
                      <p><strong><%= @permit.errors.messages[:confirmed_name][0] %></strong></p>
                    </div>
                  <% end %>
  
                  <%= f.text_field :confirmed_name, value: "", placeholder: "Enter your name", class: "form-control input-lg" %>
  
          </div><!-- ./panel_body -->
      </div><!-- ./panel -->
  
  
                    
  