Sha256: b9e47cba1a98eef81c8d6b783b7d0bd7171272a78b1a20759c160850f573e8ec

Contents?: true

Size: 353 Bytes

Versions: 18

Compression:

Stored size: 353 Bytes

Contents

class SymbolInput < SimpleForm::Inputs::Base
  def input(wrapper_options)
    "<label for='#{object_name}_#{attribute_name}'  class='#{options[:span_class]}'>#{options[:content_text]}</label>#{@builder.text_field(attribute_name, "data-validate" => input_html_options['data-validate'], placeholder: input_html_options[:placeholder])}".html_safe
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
fae-rails-3.0.0 app/inputs/symbol_input.rb
fae-rails-2.2.0 app/inputs/symbol_input.rb
fae-rails-2.1.0 app/inputs/symbol_input.rb
fae-railsz-2.1.0 app/inputs/symbol_input.rb
fae-rails-2.0.0 app/inputs/symbol_input.rb
fae-rails-1.7.1 app/inputs/symbol_input.rb
fae-rails-1.7.0 app/inputs/symbol_input.rb
fae-rails-1.6.0 app/inputs/symbol_input.rb
fae-rails-1.5.1 app/inputs/symbol_input.rb
fae-rails-1.5.0 app/inputs/symbol_input.rb
fae-rails-1.4.1 app/inputs/symbol_input.rb
fae-rails-1.4.0 app/inputs/symbol_input.rb
fae-rails-1.3.1 app/inputs/symbol_input.rb
fae-rails-1.3.0 app/inputs/symbol_input.rb
fae-rails-1.2.5 app/inputs/symbol_input.rb
fae-rails-1.2.4 app/inputs/symbol_input.rb
fae-rails-1.2.3 app/inputs/symbol_input.rb
fae-rails-1.2.2 app/inputs/symbol_input.rb