Commit 4bf006319fde30a51b69f8ca32ae10a78166c042

Authored by Junior Silva
1 parent 181fc268

shop-cart-form: displays form in colorbox

AI3288
plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb
1 1 <div id='cart-request-box'>
2   - <% form_for(:customer, :url => {:action => 'send_request'},
3   - :html => {:onsubmit => "return Cart.send_request(this)", :id => 'cart-request-form' }) do |f| %>
  2 + <%= form_for(:customer, :url => {:action => 'send_request'},
  3 + :html => {:onsubmit => "return Cart.send_request(this)", :id => 'cart-request-form'}) do |f| %>
4 4 <div id="cart-form-main">
5 5 <%= labelled_form_field('* ' + _("Name"), f.text_field(:name, :class => 'required') ) %>
6 6 <%= labelled_form_field('* ' + _("Email"), f.text_field(:email, :class => 'required email') ) %>
... ...