summaryrefslogtreecommitdiff
path: root/engines/billing/app/views/payments/new.html.haml
diff options
context:
space:
mode:
authorclaucece <soficeli0@gmail.com>2015-09-15 00:26:52 -0500
committerclaucece <soficeli0@gmail.com>2015-10-05 22:34:21 -0500
commitd11768e58b98312c95a8ac5e9c18e3069b4d76dc (patch)
tree35b4cfaf0814222e675f7fbd5423f6214b5d4aef /engines/billing/app/views/payments/new.html.haml
parent70073b1ac48f96d3e375630fb7f3904351e0f696 (diff)
implemented the form and the generate
Diffstat (limited to 'engines/billing/app/views/payments/new.html.haml')
-rw-r--r--engines/billing/app/views/payments/new.html.haml17
1 files changed, 0 insertions, 17 deletions
diff --git a/engines/billing/app/views/payments/new.html.haml b/engines/billing/app/views/payments/new.html.haml
deleted file mode 100644
index e9a8273..0000000
--- a/engines/billing/app/views/payments/new.html.haml
+++ /dev/null
@@ -1,17 +0,0 @@
-%h1
- = t(:Donation)
-- if logged_in?
- = t(:donation_not_payment)
-- if @result and @result.errors.size > 0
- %div{:style => "color: red;"}
- = h @result.errors.size
- error(s)
-- if @result and @result.transaction and @result.transaction.status != 'success'
- %div{:style => "color: red;"}
- = t(:processor_declined)
-= braintree_form_for :transaction, :html => {:autocomplete => "off"} do |f|
- = f.label :amount, t(:amount)
- = f.text_field :amount
- = render :partial => 'non_customer_fields', :locals => {:f => f}
- = hidden_field_tag :tr_data, @tr_data
- = f.submit "Submit Donation", :class => 'btn btn-primary'