Sha256: b53c836ae9b9f3ad55b76dd25eb7a56a71509706d3141415f55a78b641de5094
Contents?: true
Size: 557 Bytes
Versions: 3
Compression:
Stored size: 557 Bytes
Contents
require 'action_view' module Bootstrap module Helpers class FormBuilder < ActionView::Helpers::FormBuilder def text_field(method, options = {:class => "xxlarge"}) super end def text_area(method, options = {:class => "xxlarge"}) super end def password_field(method, options = {:class => "xxlarge"}) super end def submit(value=nil, options={:class => "btn primary"}) super end end end end ActionView::Base.default_form_builder = Bootstrap::Helpers::FormBuilder
Version data entries
3 entries across 3 versions & 1 rubygems