Sha256: 0cacd5e2da40f5a5084486448f2ecac3f8736589a0bad7eaf6dbab3761f53c5c

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

- content_for :title do
  Purchase a Pass
  
.container
  %h1 Purchase a Pass

  .row#membership-storefront
    .span8  
      #salesy{:style => "margin-bottom: 20px"} 
        =@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
                  .membership_type_name
                    =pass_type.name
            =pass_type.description
            %br
            %br
            .section
              = form_for pass_type, :as => :pass_type, :url => store_order_path(@store_organization.cached_slug), :html => {:id => "edit_pass_type_#{pass_type.id}"}, :method => :post do |f| 
                = f.hidden_field :id
                = select_tag :quantity, options_for_select((1..6).to_a.map {|i| [pluralize(i, "#{pass_type.passerize}"), i]})
                = f.submit 'Add to cart', :class => 'btn btn-primary', :style => 'margin-top: -10px'
      
    .span4
      .side-section
        =@passes_kit.marketing_copy_sidebar.html_safe

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.alpha.2 app/views/store/passes/index.html.haml
artfully_ose-1.2.0.alpha.1 app/views/store/passes/index.html.haml
artfully_ose-1.2.0.pre.27 app/views/store/passes/index.html.haml
artfully_ose-1.2.0.pre.26 app/views/store/passes/index.html.haml
artfully_ose-1.2.0.pre.24 app/views/store/passes/index.html.haml