Created
January 25, 2015 08:31
-
-
Save yatmsu/cd3b2d9d5ab832449583 to your computer and use it in GitHub Desktop.
app/forms/application_form_builder.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApplicationFormBuilder < ActionView::Helpers::FormBuilder | |
def select_genders(options = {}, html_options = {}) | |
select :gender, [ [ 'male', 'male' ], [ 'fmale', 'fmale' ] ], options, html_options | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment