# File lib/deltacloud/helpers/application_helper.rb, line 153 def link_to_action(action, url, method) capture_haml do haml_tag :form, :method => :post, :action => url, :class => [:link, method] do haml_tag :input, :type => :hidden, :name => '_method', :value => method haml_tag :button, :type => :submit, 'data-ajax''data-ajax' => 'false', 'data-inline''data-inline' => "true" do haml_concat action end end end end