app/views/store/passes/index.html.haml in artfully_ose-1.2.0 vs app/views/store/passes/index.html.haml in artfully_ose-1.3.0.pre1
- old
+ new
@@ -5,21 +5,21 @@
%h1 Purchase a Pass
.row#membership-storefront
.span8
#salesy{:style => "margin-bottom: 20px"}
- =@passes_kit.marketing_copy_heading.html_safe
+ =(@passes_kit.marketing_copy_heading || "").html_safe
- @pass_types.each do |pass_type|
.row-fluid{:id => "pass-type-#{pass_type.id}"}
.span12
%ul#memberships.unstyled
%li
.title.active
.price
=number_as_cents pass_type.price
- .pass_type_name
+ .type_name
=pass_type.name
=pass_type.description
%br
%br
.section
@@ -28,6 +28,6 @@
= select_tag :quantity, options_for_select((1..6).to_a.map {|i| [pluralize(i, "#{pass_type.passerize}"), i]})
= f.submit 'Add to cart', :class => 'add-to-cart btn btn-primary', :style => 'margin-top: -10px'
.span4
.side-section
- =@passes_kit.marketing_copy_sidebar.html_safe
+ =(@passes_kit.marketing_copy_sidebar || "").html_safe
\ No newline at end of file