Commit be3010bb6e19453035438f886da6d5ce686e03d4
Exists in
master
and in
27 other branches
Merge branch 'shop-cart-form' into 'master'
shop-cart-form: displays form in colorbox https://noosfero.org/Development/ActionItem3288 See merge request !312
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
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') ) %> | ... | ... |