From c436fce774573d090ab77617dbf55b25b2da4ea2 Mon Sep 17 00:00:00 2001 From: jessib Date: Thu, 28 Mar 2013 11:49:32 -0700 Subject: Some refactoring --- billing/app/views/customer/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'billing/app/views/customer/new.html.haml') diff --git a/billing/app/views/customer/new.html.haml b/billing/app/views/customer/new.html.haml index 0e1557a..2ff8229 100644 --- a/billing/app/views/customer/new.html.haml +++ b/billing/app/views/customer/new.html.haml @@ -2,7 +2,7 @@ #total-errors{:style => "color:red;"} = h(@result.errors.size) error(s) -= form_for :customer, :url => Braintree::TransparentRedirect.url, :params => @result && @result.params[:customer], :builder => BraintreeHelper::BraintreeFormBuilder, :errors => @result && @result.errors.for(:customer) do |f| += form_for :customer, :url => Braintree::TransparentRedirect.url, :params => @result && @result.params[:customer], :builder => BraintreeFormHelper::BraintreeFormBuilder, :errors => @result && @result.errors.for(:customer) do |f| = field_set_tag "Customer" do %dl %dt= f.label :first_name, 'First Name' -- cgit v1.2.3