1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Todd Bealmear
ac44345da3 Add String support for min/max attributes on DatetimeField 2014-06-30 17:39:50 -03:00
Robin Dupret
9ca0f8da2a Tiny documentation fixes [ci skip] 2014-06-29 20:15:28 +02:00
Aaron Patterson
e2a97adbae call capture fewer times from form_for 2014-06-02 16:43:47 -07:00
Aaron Patterson
547881594b 😢🔫 use an empty hash for magical speed.
For some reason, if the hash is empty, we choose "optimized" routes.  I
am not sure how or why optimized routes differ from regular routes.
But, if we make sure the hash is empty, we get a nice speed improvement.
2014-05-12 16:16:06 -07:00
Zachary Scott
1161d1057c Add test for using ActionView::Helpers::FormHelper.label with block and html 2014-04-22 10:51:54 +09:00
Cakey | Buddy Magsipoc
b87962f3a8 Fix 'fields_for' doc typo. 2014-03-10 20:10:38 +08:00
Gaelian Ditchburn
7a085dac2a Switched to use display:none in extra_tags_for_form method.
The use of `display:inline` with the content_tag call in the
extra_tags_for_form method potentially causes display issues with some
browsers, namely Internet Explorer. IE's behaviour of not collapsing
the line height on divs with ostensibly no content means that the
automatically added div containing the hidden authenticity_token, utf8
and _method form input tags may interfere with other visible form
elements in certain circumstances. The use of `display:none` rather
than `display:inline` fixes this problem.

Fixes #6403
2014-01-05 17:16:22 +00:00
T.J. Schuck
72bb3fc297 Change all "can not"s to the correct "cannot". 2014-01-03 17:02:31 -05:00
Guillermo Iguaran
b40faf423c Merge pull request #13138 from gsamokovarov/remove-cattr-requires
Remove deprecated cattr_* requires
2013-12-02 14:30:39 -08:00
Genadi Samokovarov
6329d9fa8b Remove deprecated cattr_* requires 2013-12-03 00:28:15 +02:00
Rafael Mendonça França
83e4f33ea1 Make ActionView::Tags loading tread safe 2013-12-02 20:27:50 -02:00
Adam Jahnke
065d3e061d Fix typo in form_helper.rb 2013-10-16 16:09:09 -05:00
Adam Niedzielski
e18f045b65 form_for - fix :namespace and :as options clash
:as option should not overwrite :namespace option when
generating html id attribute of the form element. id should be prefixed
by specified namespace even if :as option is present

Add test case showing the issue and code fixing it
2013-09-09 07:59:07 +02:00
Vipul A M
38aafc0377 Remove FormBuilder deprecation warning about block argument and associated tests 2013-07-02 02:06:39 +05:30
Piotr Sarnacki
0d6e8edc2a Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
Renamed from actionpack/lib/action_view/helpers/form_helper.rb (Browse further)