Sha256: 18e91ecd753f047a91c3a0fc418d6441bf5d5adf1992ceca90e948c29b9dea17
Contents?: true
Size: 414 Bytes
Versions: 3
Compression:
Stored size: 414 Bytes
Contents
# Simple Form gem custom input (see: https://github.com/plataformatec/simple_form). # # Usage (in your simple_form): # <%= form.input :country_code, :as => :country_code %> # class CountryCodeInput < SimpleForm::Inputs::Base def input @builder.country_code_select(attribute_name, input_options.delete(:priority) || SimpleForm.country_priority, input_html_options) #, priority_countries, options) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
admin_interface-2.2.5 | app/inputs/country_code_input.rb |
admin_interface-2.2.4 | app/inputs/country_code_input.rb |
admin_interface-2.2.3 | app/inputs/country_code_input.rb |