app/views/contributions/new.html.haml in artfully_ose-1.2.0 vs app/views/contributions/new.html.haml in artfully_ose-1.3.0.pre1
- old
+ new
@@ -1,6 +1,6 @@
-.modal-header
- .close{'data-dismiss'=>'modal'} x
- %h3 New Contribution
+- in_section :dashboard
+- content_for :header do
+ = render :partial => 'header'
-.modal-body
- =render :partial => "form", :locals => {:contribution => @contribution, :cancel_path => person_path(@contribution.person_id)}
\ No newline at end of file
+= form_for [@campaign, @contribution], :html => { :class => 'form-horizontal' } do |f|
+ = render :partial => 'form', :locals => { :f => f, :contribution => @contribution, :campaign => @campaign, :cancel_path => @cancel_path }