lib/facades/builders/form/elements.rb in facades-0.0.4 vs lib/facades/builders/form/elements.rb in facades-0.0.5
- old
+ new
@@ -3,10 +3,10 @@
module Elements
extend ActiveSupport::Concern
included do
# create overrides for custom rendering
- [:email_field, :password_field, :text_field, :text_area, :url_field].each do |method|
+ [:email_field, :password_field, :text_field, :text_area, :url_field, :select].each do |method|
class_eval <<-FUNC, __FILE__, __LINE__ + 1
alias :_super_#{method} :#{method}
def #{method}(method_name, *args)
\ No newline at end of file