Archive: ComponentOwl Rails app, DB backups, go redirect script
This commit is contained in:
12
app/helpers/orders_helper.rb
Normal file
12
app/helpers/orders_helper.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
module OrdersHelper
|
||||
|
||||
def buy(bmtid)
|
||||
#submit_image("buy", :name => "PRODUCTID", :value => bmtid, :onclick => "bmtForm(this)")
|
||||
submit_tag("", :name => "PRODUCTID", :"data-value" => bmtid, :onclick => "bmtForm(this)", :class => "buy")
|
||||
end
|
||||
|
||||
def renew(bmtid)
|
||||
#submit_image("renew", :name => "PRODUCTID", :value => bmtid, :onclick => "bmtForm(this)")
|
||||
submit_tag("", :name => "PRODUCTID", :"data-value" => bmtid, :onclick => "bmtForm(this)", :class => "renew")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user