Sha256: 0cde6c02948f2d56864979624a2f63a6c4ff6a686ef93c4e23ff47f9b727fa66
Contents?: true
Size: 534 Bytes
Versions: 42
Compression:
Stored size: 534 Bytes
Contents
# = simple_form_for @thing do |f| # = f.input :website, :as => :effective_url # = f.input :website, :as => :effective_url, :glyphicon => false # = f.input :website, :as => :effective_url, :fontawesome => false if defined?(SimpleForm) class EffectiveUrlInput < SimpleForm::Inputs::StringInput def input(wrapper_options = nil) Inputs::EffectiveUrl::Input.new(object, object_name, template, attribute_name, input_options, (merge_wrapper_options(input_html_options, wrapper_options) || {})).to_html end end end
Version data entries
42 entries across 42 versions & 1 rubygems