<commit_before>{% extends "base.html" %}
{% block title %}Create a Campaign{%endblock%}
{% block extrahead %}
 <style type="text/css">
  form.form-horizontal {padding-left: 260px;}
  h4 {padding-top:30px;padding-left: 40px;}
  div.errors {padding-left: 400px;}
  span.help-inline {color:#b94a48;}
  </style>
{% endblock %}
{% block content %}
  <h4>Create a Campaign</h1>
  	<p>&nbsp;</p>
  <form method="post" action="{% url 'create_a_campaign' %}" class="form-horizontal">
  	 {% csrf_token %}
  	         
		<div class="control-group">
	        <label class="control-label" for="campaign_name">Campaign Name</label>
	        <div class="controls">{{ form.campaign_name }}
	        	 {% if errors.campaign_name.0 %}
		            	<span class="help-inline">{{ errors.campaign_name.0}}</span>
	            {% endif %}
	        </div>
            
        </div>        
		<div class="control-group">
	        <label class="control-label" for="books">Books</label>
	        <div class="controls">{{ form.books }}
	        	 {% if errors.books.0 %}
		            	<span class="help-inline">{{ errors.books.0}}</span>
	            {% endif %}
	        </div>
        </div>        
		<div class="control-group">
	        <label class="control-label" for="target_amount">Target Amount</label>
	        <div class="controls">{{ form.target_amount }}
	        	 {% if errors.target_amount.0 %}
		            	<span class="help-inline">{{ errors.target_amount.0}}</span>
	            {% endif %}
	        </div>
        </div>        

		<div class="control-group">
	        <label class="control-label" for="cause">Cause</label>
	        <div class="controls">{{ form.cause }}
	        	 {% if errors.cause.0 %}
		            	<span class="help-inline">{{ errors.cause.0}}</span>
	            {% endif %}
	        </div>
        </div>                                                                  
	        <div class="control-group">
	          <div class="controls">
	            <button type="submit" value="submit"  class="btn btn-primary" >Submit</button>
	          </div>
	        </div>      
  </form
{% endblock %}
<commit_msg>Modified create_a_campaign.html in templates<commit_after>{% extends "base.html" %}
{% block title %}Create a Campaign{%endblock%}
{% block extrahead %}
 <style type="text/css">
  form.form-horizontal {padding-left: 260px;}
  h4 {padding-top:30px;padding-left: 40px;}
  div.errors {padding-left: 400px;}
  span.help-inline {color:#b94a48;}
  </style>
{% endblock %}
{% block content %}
  <h4>Create a Campaign</h1>
  	<p>&nbsp;</p>
  <form method="post" action="{% url 'campaigns:create_a_campaign' %}" class="form-horizontal">
  	 {% csrf_token %}
  	         
		<div class="control-group">
	        <label class="control-label" for="campaign_name">Campaign Name</label>
	        <div class="controls">{{ form.campaign_name }}
	        	 {% if errors.campaign_name.0 %}
		            	<span class="help-inline">{{ errors.campaign_name.0}}</span>
	            {% endif %}
	        </div>
            
        </div>        
		<div class="control-group">
	        <label class="control-label" for="books">Books</label>
	        <div class="controls">{{ form.books }}
	        	 {% if errors.books.0 %}
		            	<span class="help-inline">{{ errors.books.0}}</span>
	            {% endif %}
	        </div>
        </div>        
		<div class="control-group">
	        <label class="control-label" for="target_amount">Target Amount</label>
	        <div class="controls">{{ form.target_amount }}
	        	 {% if errors.target_amount.0 %}
		            	<span class="help-inline">{{ errors.target_amount.0}}</span>
	            {% endif %}
	        </div>
        </div>        

		<div class="control-group">
	        <label class="control-label" for="cause">Cause</label>
	        <div class="controls">{{ form.cause }}
	        	 {% if errors.cause.0 %}
		            	<span class="help-inline">{{ errors.cause.0}}</span>
	            {% endif %}
	        </div>
        </div>                                                                  
	        <div class="control-group">
	          <div class="controls">
	            <button type="submit" value="submit"  class="btn btn-primary" >Submit</button>
	          </div>
	        </div>      
  </form
{% endblock %}

{'fraction_non_alphanumeric': 0.17435659633665662, 'fraction_numerical': 0.011592858798979828, 'mean_word_length': 1.9649484536082473, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5374241', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1256, 'n_words': 239}