# File lib/deltacloud/helpers/application_helper.rb, line 151
  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 do 
          haml_concat action
        end
      end
    end
  end