delete_button (Merb::Helpers::Form)

    # File lib/merb-helpers/form/helpers.rb, line 395
      def delete_button(object_or_url, contents="Delete", attrs = {})
        url = object_or_url.is_a?(String) ? object_or_url : resource(object_or_url)
        button_text = (contents || 'Delete')
        tag :form, :class => 'delete-btn', :action => url, :method => :post do
          tag(:input, :type => :hidden, :name => "_method", :value => "DELETE") <<
          tag(:input, attrs.merge(:value => button_text, :type => :submit))
        end
      end