app/views/store/events/show.html.haml in artfully_ose-1.0.0.rc4 vs app/views/store/events/show.html.haml in artfully_ose-1.1.0.rc1

- old
+ new

@@ -66,24 +66,43 @@ %span.cart-name Shopping Cart = form_tag '', :id => 'shopping-cart-form', :class => 'form-horizontal' do #steps %ul#nav %li.active= link_to 'Cart', '#cart', 'data-toggle' => 'tab' - %li= link_to 'Contact Info', '#contact-info', 'data-toggle' => 'tab' - %li= link_to 'Payment Details', '#payment-details', 'data-toggle' => 'tab' - %li= link_to 'Billing Address', '#billing-address', 'data-toggle' => 'tab' + %li.disabled= link_to 'Contact Info', '#contact-info', 'data-toggle' => 'tab' + %li.disabled= link_to 'Payment Details', '#payment-details', 'data-toggle' => 'tab' + %li.disabled= link_to 'Billing Address', '#billing-address', 'data-toggle' => 'tab' - if @event.show_special_instructions - %li= link_to 'Special Instructions', '#special-instructions', 'data-toggle' => 'tab' - %li= link_to 'Purchase', '#purchase', 'data-toggle' => 'tab' + %li.disabled= link_to 'Special Instructions', '#special-instructions', 'data-toggle' => 'tab' + %li.disabled= link_to 'Purchase', '#purchase', 'data-toggle' => 'tab' .tab-pane#cart{:style => 'display:block;'} %table %tr#service-charge{:style => 'display:none'} %td %td.details Service Charge %td.quantity %td.price + %h5.formatCurrency + + %tr#discount-link{:style => 'display:none'} + %td + %td= link_to "Apply Discount Code", "#" + %td#discount-error + + %tr#discount-input{:style => 'display:none'} + %td + %td= text_field_tag 'discount', params[:discount], :placeholder => "Enter discount here, eg. COWBELL" + %td= button_tag "Apply", :class => 'btn btn-primary', :disable_with => "Applying..." + + %tr#discount-display{:style => 'display:none'} + %td + %td.details + Discount code + %span BLANK + %td= button_tag "Change", :class => 'btn btn-primary' + %td.amount %h5.formatCurrency .form-actions = link_to 'Checkout Now', '#contact-info', 'data-toggle' => 'tab', :class => 'btn btn-primary btn-large pull-right disabled' %h4#cart-total.formatCurrency