<commit_before>{% extends 'base.html' %}

{% block 'content' %}
<h1>Campaigns</h1>

{% for campaign in campaign_list %}

{% comment %}
{% include 'campaign/components/payfast_button.html' with campaign=campaign amount='123' editable=False btn_classes='btn-success btn-block' %}
{% endcomment %}

<div class="col-md-12 campaign-list" 
	style="background:url('http://www.gatesfoundation.org/~/media/GFO/Home/banner-1.png')">	
	<h2 class='transparent'>{{campaign.charity.name}}. <small>{{campaign.name}}</small></h2>

	<div class='controls transparent'>
		<span class='info'>R 100 000 raised so far</span>

		<div class="pull-right" >
			<a href="{% url 'campaign_detail' campaign.slug %}" 
				class="btn btn-default" >More Info</a>
			<button 
				class="btn btn-primary" 
				data-toggle="collapse" href="#quick-donate" >Donate Now</button>
		</div>
		<div class="clearfix"></div>
	</div>
	<div id="quick-donate" class='quick-donate collapse'  >
		<div class="col-md-4">
			<div class="panel panel-default">
			  <div class="panel-heading">Quick Donate</div>
			  <div class="panel-body">
			  	{% include 'campaign/components/payfast_button.html' with campaign=campaign amount='100' editable=False btn_classes='btn btn-block' btn_text='R100' %}
			    {% include 'campaign/components/payfast_button.html' with campaign=campaign amount='500' editable=False btn_classes='btn btn-block' btn_text='R500' %}
			    {% include 'campaign/components/payfast_button.html' with campaign=campaign amount='1000' editable=False btn_classes='btn-success btn-block' btn_text='R1000' %}
			  </div>
			</div>
		</div>
		<div class="col-md-4">
			<div class="panel panel-default">
			  <div class="panel-heading">Custom Donate</div>
			  <div class="panel-body">
			      {% include 'campaign/components/payfast_button.html' with campaign=campaign amount='1000' editable=True btn_classes='btn-success btn-block' btn_text='R1000' %}
				
			  </div>
			</div>
		</div>
		<div class="col-md-4">
			<div class="panel panel-default">
			  <div class="panel-heading">Buy 67 minutes</div>
			  <div class="panel-body">
			    <form>
				  <div class="form-group">
				    <label for="donation-amount">Enter your monthly salary</label>
				    <input type="email" class="form-control" id="donation-amount" placeholder="Email">
				    <span class="info">
				    	<strong>You earn R 1234.00 in 67 mins</strong>
				    </span>
				  </div>	
				  <button class="btn btn-block" >Donate R1234.00</button>
				</form>
			  </div>
			</div>
		</div>
		<div class='clearfix'></div>
	</div>
</div>
{% endfor %}

{% endblock %}<commit_msg>remove campaign header<commit_after>{% extends 'base.html' %}

{% block 'content' %}
{% for campaign in campaign_list %}

{% comment %}
{% include 'campaign/components/payfast_button.html' with campaign=campaign amount='123' editable=False btn_classes='btn-success btn-block' %}
{% endcomment %}

<div class="col-md-12 campaign-list" 
	style="background:url('http://www.gatesfoundation.org/~/media/GFO/Home/banner-1.png')">	
	<h2 class='transparent'>{{campaign.charity.name}}. <small>{{campaign.name}}</small></h2>

	<div class='controls transparent'>
		<span class='info'>R 100 000 raised so far</span>

		<div class="pull-right" >
			<a href="{% url 'campaign_detail' campaign.slug %}" 
				class="btn btn-default" >More Info</a>
			<button 
				class="btn btn-primary" 
				data-toggle="collapse" href="#quick-donate" >Donate Now</button>
		</div>
		<div class="clearfix"></div>
	</div>
	<div id="quick-donate" class='quick-donate collapse'  >
		<div class="col-md-4">
			<div class="panel panel-default">
			  <div class="panel-heading">Quick Donate</div>
			  <div class="panel-body">
			  	{% include 'campaign/components/payfast_button.html' with campaign=campaign amount='100' editable=False btn_classes='btn btn-block' btn_text='R100' %}
			    {% include 'campaign/components/payfast_button.html' with campaign=campaign amount='500' editable=False btn_classes='btn btn-block' btn_text='R500' %}
			    {% include 'campaign/components/payfast_button.html' with campaign=campaign amount='1000' editable=False btn_classes='btn-success btn-block' btn_text='R1000' %}
			  </div>
			</div>
		</div>
		<div class="col-md-4">
			<div class="panel panel-default">
			  <div class="panel-heading">Custom Donate</div>
			  <div class="panel-body">
			      {% include 'campaign/components/payfast_button.html' with campaign=campaign amount='1000' editable=True btn_classes='btn-success btn-block' btn_text='R1000' %}
				
			  </div>
			</div>
		</div>
		<div class="col-md-4">
			<div class="panel panel-default">
			  <div class="panel-heading">Buy 67 minutes</div>
			  <div class="panel-body">
			    <form>
				  <div class="form-group">
				    <label for="donation-amount">Enter your monthly salary</label>
				    <input type="email" class="form-control" id="donation-amount" placeholder="Email">
				    <span class="info">
				    	<strong>You earn R 1234.00 in 67 mins</strong>
				    </span>
				  </div>	
				  <button class="btn btn-block" >Donate R1234.00</button>
				</form>
			  </div>
			</div>
		</div>
		<div class='clearfix'></div>
	</div>
</div>
{% endfor %}

{% endblock %}
{'fraction_non_alphanumeric': 0.1787977722296908, 'fraction_numerical': 0.023814096408680624, 'mean_word_length': 3.9224952741020793, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3622785', 'n_tokens_mistral': 2114, 'n_tokens_neox': 1707, 'n_words': 351}