lml / lev

Ride the rails but don't touch them.
MIT License
2 stars 6 forks source link

lev_form_for label method #53

Open Dantemss opened 8 years ago

Dantemss commented 8 years ago

For some reason I don't understand, lev_form_for's label method takes one less argument than form_for's:

form_for(:a){|ff| ff.label}
ArgumentError Exception: wrong number of arguments (0 for 1..3)
lev_form_for(:a){|ff| ff.label}
ArgumentError Exception: wrong number of arguments (0 for 1..2)

So it's impossible to pass an options hash to it.