Permalink
Browse files

Merge pull request #23 from nicholashubbard/master

Add country select
  • Loading branch information...
sodabrew committed Feb 7, 2013
2 parents 86601d9 + 18c01d3 commit dbcf0095d8f1b0b260de6fd0faa62dc04e587e00
Showing with 14 additions and 0 deletions.
  1. +14 −0 lib/formtastic-bootstrap/inputs/country_input.rb
@@ -0,0 +1,14 @@
+module FormtasticBootstrap
+ module Inputs
+ class CountryInput < Formtastic::Inputs::CountryInput
+ include Base
+
+ def to_html
+ bootstrap_wrapping do
+ builder.country_select(method, priority_countries, input_options, input_html_options)
+ end
+ end
+
+ end
+ end
+end

0 comments on commit dbcf009

Please sign in to comment.