Skip to content

Commit

Permalink
[#1265] Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperBrandt committed Mar 10, 2015
1 parent 876293b commit 44fe87e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
5 changes: 1 addition & 4 deletions akvo/templates/donate/donate_step2.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ <h3>{% trans 'Donation details' %}</h3>
</p>

{% bootstrap_form_errors donate_form type='non_fields' %}
{% comment %}
{% bootstrap_field donate_form.amount %}
{% endcomment %}
<div class="form-group">
<label class="control-label" for="id_amount">Amount</label>
<div class="input-group">
<span class="input-group-addon">{{project.get_currency_display|safe}}</span>
<input class="form-control" id="id_amount" min="2" name="amount" placeholder="Amount" required="required" title="" type="number">
<input class="form-control" id="id_amount" min="2" name="amount" placeholder="Amount" required="required" title="" type="number" value="{{donate_form.amount.value}}">
</div>
</div>
<p class="small">
Expand Down
32 changes: 0 additions & 32 deletions akvo/templates/project_donate.html

This file was deleted.

2 comments on commit 44fe87e

@gabemart
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KasperBrandt was it intentional to remote the project_donate template?

@KasperBrandt
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gabemart Yes, this was the old template saying we don't accept automatic donations. But since we implemented it now, it can be removed.

Please sign in to comment.