aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* | distance_of_time_in_words: 45-60 days is about 2 months, not about 1 monthElliot Winkler2012-04-301-2/+3
| |
* | split CDATA end token in cdata_section helperSergey Nartimov2012-04-301-1/+5
| |
* | Merge pull request #3726 from JanDupal/fix-date-helper-hiddenJosé Valim2012-04-301-0/+2
|\ \ | | | | | | fix Helpers::DateHelper with :use_hidden - hide separators
| * | fix Helpers::DateHelper with :use_hidden - hide separatorsJan Dupal2011-11-221-0/+2
| | |
* | | Merge pull request #6077 from ↵José Valim2012-04-301-27/+33
|\ \ \ | | | | | | | | | | | | | | | | dmitriy-kiriyenko/improve_signature_of_time_in_words_helper Replace boolean argument with an options hash.
| * | | Replace boolean argument with an options hash.Dmitriy Kiriyenko2012-04-301-27/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces `include_seconds` argument with an option key `include_seconds => true` in options hash. Also `time_ago_in_words` now passes options hash, including a `locale` key, which makes in compatible with `distance_of_time_in_words`.
* | | | wrap translate defaults to use translate helper features, closes #1102Sergey Nartimov2012-04-301-0/+16
|/ / /
* | | Remove `button_to_function` and `link_to_function` helpersRafael Mendonça França2012-04-301-35/+0
| | |
* | | Add missing require when helpers are used in isolationRafael Mendonça França2012-04-301-0/+1
| | |
* | | Change check_box to work inverting the checked and unchecked valueRafael Mendonça França2012-04-291-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes: * Boolean with inverted logic * Integer with inverted logic * BigDecimal with inverted logic Fixes #3995
* | | Lazy load `default_form_builder` if it's passed as a stringPiotr Sarnacki2012-04-281-1/+7
| |/ |/| | | | | closes #3341
* | refactor content_tag_for helperSergey Nartimov2012-04-261-3/+3
| | | | | | | | | | - do not use merge! just for 2 values - there is no need to check block arity
* | use safe_join in number helperSergey Nartimov2012-04-261-1/+1
| |
* | fix number_to_human docs [ci skip]Vijay Dev2012-04-261-2/+2
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-252-1/+4
|\ \
| * | Missed checked in Form Helper exampleAlexey Vakhov2012-04-241-1/+1
| | |
| * | Add distance_of_time_in_words example for secondsAlexey Vakhov2012-04-221-0/+3
| | |
* | | Use leap years trick in distance_of_time_in_words only for distances between ↵Alexey Vakhov2012-04-241-12/+16
| | | | | | | | | | | | real date points
* | | fixed non matching documentation behaviour with method semantics on ↵Marcelo Casiraghi2012-04-241-1/+1
| | | | | | | | | | | | distance_of_time_in_words
* | | Distance of time in words should work correct if from time > to_timeAlexey Vakhov2012-04-241-2/+3
|/ /
* | Comma missedAlexey Vakhov2012-04-211-1/+1
| |
* | Fix example in ActionView::Helpers::FormHelperThibaut Courouble2012-04-201-1/+1
| |
* | Merge pull request #5814 from lest/patch-4Piotr Sarnacki2012-04-131-12/+13
|\ \ | | | | | | don't duplicate default values in text helper
| * | don't duplicate default values in text helperSergey Nartimov2012-04-111-12/+13
| | |
* | | avoid autolinking by rdoc [ci skip]Vijay Dev2012-04-121-2/+2
| | |
* | | Merge pull request #5746 from jmbejar/index_method_form_builderSantiago Pastorino2012-04-111-5/+22
|\ \ \ | |/ / |/| | Add method FormBuilder#index
| * | Add index method to FormBuilder. Useful when you use field_for and need to ↵Jorge Bejar2012-04-111-5/+22
| | | | | | | | | | | | know the index number into the iteration.
* | | no need in temporary array in number_to_phone helperSergey Nartimov2012-04-091-2/+2
| | |
* | | Adding itemscope to list of boolean attributes.Frankie Roberto2012-04-091-1/+1
| | | | | | | | | | | | | | | | | | 'itemscope' is defined within HTML5 for use in microdata markup. See http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.ht ml#attr-itemscope
* | | Merge pull request #5748 from ai/no_type_in_html5Jeremy Kemper2012-04-086-62/+62
|\ \ \ | | | | | | | | Remove unnecessary in HTML 5 type attribute with default value
| * | | Remove unnecessary in HTML 5 type attribute with default valueAndrey A.I. Sitnik2012-04-056-62/+62
| | | |
* | | | use extract_options! in cycle helperSergey Nartimov2012-04-071-6/+4
| | | |
* | | | pass default value as argument to fetchSergey Nartimov2012-04-061-1/+1
| | | |
* | | | Merge pull request #5182 from castlerock/content_tag_instead_stringXavier Noria2012-04-051-2/+2
|\ \ \ \ | |_|/ / |/| | | content_tag used instead string for option
| * | | content_tag used instead string for optionVishnu Atrai2012-02-261-2/+2
| | | |
* | | | Merge pull request #5707 from morgoth/remove-unnecessary-block-in-fetchXavier Noria2012-04-051-1/+1
|\ \ \ \ | |_|/ / |/| | | removed unnecessary block when using fetch
| * | | removed unnecessary block when using fetchWojciech Wnętrzak2012-04-021-1/+1
| | | |
* | | | Updated/changed useless tr/gsubsJurriaan Pruis2012-04-031-2/+2
|/ / /
* | | add type option to atom feed entry builderSergey Nartimov2012-04-011-1/+4
| | | | | | | | | | | | closes #5672
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-011-1/+1
|\ \ \
| * | | Fix quotes at select_tag examplesAnderson Dias2012-03-281-1/+1
| | | |
* | | | Small #label method refactoring, thanks @rafaelfrancaAlexey Vakhov2012-04-011-3/+2
| | | |
* | | | Block version of label should wrapped in field_with_errors in case of errorAlexey Vakhov2012-04-011-1/+2
| | | |
* | | | use `symbolize_keys` instead of `dup.symbolize_keys!`Sergey Nartimov2012-03-301-2/+2
| | | |
* | | | datetime_select should work with -/+ infinity datesJoe Van Dyk2012-03-281-1/+1
| | | |
* | | | Cover one more case in auth_token and remote formsPiotr Sarnacki2012-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | If embedding auth_token in remote forms is off and we pass a value for auth_token it should respect it.
* | | | config.action_view.embed_authenticity_token_in_remote_forms is true by defaultPiotr Sarnacki2012-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed default value for `config.action_view.embed_authenticity_token_in_remote_forms` to `false`. This change breaks remote forms that need to work also without javascript, so if you need such behavior, you can either set it to `true` or explicitly pass `:authenticity_token => true` in form options
* | | | Added config.action_view.embed_authenticity_token_in_remote_formsPiotr Sarnacki2012-03-281-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a regression introduced in 16ee611fa, which breaks remote forms that should also work without javascript. This commit introduces config option that allows to configure this behavior defaulting to the old behavior (ie. include authenticity token in remote forms by default) Conflicts: actionpack/CHANGELOG.md
* | | | Merge pull request #5621 from rafaelfranca/fix-2492-masterJeremy Kemper2012-03-271-3/+3
|\ \ \ \ | | | | | | | | | | Fix label_tag to merge the options hash with the object hash
| * | | | Check if the options hash already exists and merge it with the anotherRafael Mendonça França2012-03-272-12/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hash. Closes #2492 and #5615