Sha256: 877c1fc3f700aa821522704f67ac329af91f0b2a35e9421e1a50a62b26c20e2c
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require 'railsstrap/core_ext/rails/form/base_helper' module Railsstrap module Form module SelectHelper include BaseHelper def select(method, choices = nil, options = {}, html_options = {}, &block) append_class! html_options, 'form-control' base_field method, :select, options do super method, choices, options, html_options, &block end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
railsstrap-4.0.0.beta3 | lib/railsstrap/core_ext/rails/form/select_helper.rb |
railsstrap-4.0.0.beta2 | lib/railsstrap/core_ext/rails/form/select_helper.rb |