Module: Merb::Helpers::Form

Defined in:
app/helpers/merb_helpers.rb

Instance Method Summary collapse

Instance Method Details

#date_field(*args) ⇒ Object



2
3
4
5
6
7
8
# File 'app/helpers/merb_helpers.rb', line 2

def date_field(*args)
  if bound?(*args)
    current_form_context.bound_date_field(*args)
  else
    current_form_context.unbound_date_field(*args)
  end
end