Sha256: 00acaf284f9a7af2ed038ad564b4c55f28e1cf4c45840273b9686d2cafb9bbed
Contents?: true
Size: 449 Bytes
Versions: 8
Compression:
Stored size: 449 Bytes
Contents
class <%= name.camelize %>Input <%= @extension_sentence %> <%- if !options[:extend] -%> include Formtastic::Inputs::Base <%- end -%> <%- if !options[:extend] || (options[:extend] == "extend") -%> def to_html # Add your custom input definition here. <%- if options[:extend] == "extend" -%> super <%- end -%> end <%- else -%> def input_html_options # Add your custom input extension here. end <%- end -%> end
Version data entries
8 entries across 8 versions & 3 rubygems