Sha256: b532c2ce8adfaa6b51e6291b53959e0ea57c25141362bb300f80e206a9e9b739

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

module SpiralForm
  module ViewHelper
    def spiral_form(token)
       content_tag(:form, "", id: "spiral")  do 
          concat content_tag(:input,"", name: "authenticity_token", type: "hidden", value: token)
       end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spiral_form-0.1.1 lib/spiral_form/view_helper.rb