Sha256: afbe163ba442926e3ad6ef8aa30bd335b6a94bb7c239ab10165cf5ca61002a06
Contents?: true
Size: 440 Bytes
Versions: 37
Compression:
Stored size: 440 Bytes
Contents
module Inputs module EffectiveStaticControl class Input < Effective::FormInput delegate :content_tag, :to => :@template def default_input_html {class: 'form-control-static'} end def to_html content_tag(:p, value, tag_options) end def html_options super.tap do |html_options| html_options[:class].delete('form-control') end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems