Sha256: fefc38cf34ee2b74e0ed566e39ef1bb880cea0963abf08fa377729cedbb020ac
Contents?: true
Size: 348 Bytes
Versions: 41
Compression:
Stored size: 348 Bytes
Contents
module ActionView module Helpers module FormHelper def button(label, options = {}) content_tag(:button, {:type => :submit}.update(options)) do label.to_s end end end class FormBuilder def button(label, options = {}) @template.button(label, options) end end end end
Version data entries
41 entries across 41 versions & 1 rubygems