aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Remove `:disable_with` in favor of `'data-disable-with'` ↵José Valim2012-05-152-25/+5
| | | | | | | | | option from `submit_tag`, `button_tag` and `button_to` helpers."" Finally remove `:disable_with` but use `:data => { :disable_with => ... }` in examples to show off a better API (which looks nicer in Ruby 1.9) This reverts commit a5c38a9c087e33d36397afc496be7c8e01b37ef0.
* Revert "Remove `:disable_with` in favor of `'data-disable-with'` option from ↵José Valim2012-05-152-5/+25
| | | | | | | | | | `submit_tag`, `button_tag` and `button_to` helpers." `disable_with:` is much easier to type than `"data-disable-with" =>`, and the fact it uses "data-disable-with" => is an implementation concern, it should not affect the public API. This reverts commit 683fc4db00f496e5225928afb4d4e932e0fcdc48.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-1512-76/+9
|\ | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb
| * Removing ==Examples and last blank lines of docs from actionpackFrancesco Rodriguez2012-05-1512-107/+42
| |
| * mispelling asset_tag_helperAngelo Capilleri2012-05-131-1/+1
| |
* | Use merge! instead reverse_merge! hereSantiago Pastorino2012-05-141-1/+1
| |
* | Remove `:disable_with` in favor of `'data-disable-with'` option from ↵Carlos Galdino + Rafael Mendonça França2012-05-142-25/+5
| | | | | | | | `submit_tag`, `button_tag` and `button_to` helpers.
* | Remove `:mouseover` option from `image_tag` helper.Rafael Mendonça França2012-05-131-12/+0
| |
* | Merge pull request #3237 from sakuro/data-url-schemeRafael Mendonça França2012-05-131-1/+1
| | | | | | | | | | | | | | Support data: url scheme Conflicts: actionpack/lib/action_view/asset_paths.rb
* | Remove dependency on safe_join from number helpersCarlos Antonio da Silva2012-05-131-1/+1
| | | | | | | | Introduced in 0f848dd54911f0e15c5c3aceabf09582cc6eab16.
* | Do not add `:include_blank` option if prompt is presentRafael Mendonça França2012-05-131-3/+3
| |
* | Only set `:include_blank` if the value of this options is not presentRafael Mendonça França2012-05-131-1/+1
| |
* | `:include_blank` should be true if the size option is nilRafael Mendonça França2012-05-131-2/+2
| |
* | Merge pull request #6225 from ↵Rafael Mendonça França2012-05-131-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acapilleri/select_with_required_true_include_first_option_blank HTML5 validation error with options_from_collection_for_select Fixes #5908 Conflicts: actionpack/CHANGELOG.md
| * | Always include the options :include_blank if the select has a required attributeangelo giovanni capilleri2012-05-131-0/+5
| | | | | | | | | | | | and display size 1 and not multiple attribute, Fixes #5908
* | | Merge pull request #6171 from oscardelben/move_token_tag_if_blockRafael Mendonça França2012-05-121-3/+3
|\ \ \ | | | | | | | | Switch token_tag if block
| * | | Switch token_tag if blockOscar Del Ben2012-05-051-3/+3
| | | |
* | | | update example outputs of some asset helpersVijay Dev2012-05-121-18/+18
| |_|/ |/| | | | | | | | | | | | | | | | | Changed /images and /fonts to /assets in the examples of image_path, image_tag and font_path helpers [ci skip]
* | | Revert "Merge pull request #6142 from spartan-developer/master"José Valim2012-05-124-10/+12
| | | | | | | | | | | | | | | This reverts commit 667d0bdd90ef6e6b691f0cc4cf5535b8da69f248, reversing changes made to 4ae6bab6bb02c9390188a49f9a749400f6a0ac94.
* | | Merge pull request #6142 from spartan-developer/masterJosé Valim2012-05-124-12/+10
|\ \ \ | | | | | | | | refactored extracting :size => 'XxY' into an extract_size! method
| * | | refactored extracting :size => 'XxY' into an extract_size! methodNicholas Yianilos2012-05-034-12/+10
| | | |
* | | | Move require to where it's neededSantiago Pastorino2012-05-111-0/+1
| |_|/ |/| |
* | | fix a couple of formatting issues [ci skip]Vijay Dev2012-05-091-2/+4
| | |
* | | update some examples in asset tag helper docs [ci skip]Vijay Dev2012-05-091-15/+15
| | |
* | | remove redundant and stray line [ci skip]Vijay Dev2012-05-091-2/+0
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-083-92/+167
|\ \ \
| * | | Fix NumberHelper options wrapping to prevent verbatim blocks being rendered ↵Mark J. Titorenko2012-05-081-92/+161
| | | | | | | | | | | | | | | | instead of line continuations. While I'm at it, wrap long comment lines consistently.
| * | | Add example for image_submit_tag with confirmation. [ci skip]Edward Tsech2012-05-081-0/+3
| | | |
| * | | Added reference to I18n.localize, as discussed here:Ernesto Tagwerker2012-05-041-0/+3
| | | | | | | | | | | | | | | | https://github.com/rails/rails/issues/4027
* | | | Change unless + else into if + elseShaliko Usubov2012-05-061-3/+3
| | | |
* | | | Fix typo in submit_tag helper documentationAlex Soulim2012-05-061-1/+1
| | | |
* | | | check checkboxes with array of strings as :checked optionVasiliy Ermolovich2012-05-051-1/+1
| |_|/ |/| |
* | | fix doc [ci skip]Vijay Dev2012-05-041-1/+1
| | |
* | | Update documentation for button_to.Shalva Usubov2012-05-041-1/+6
|/ /
* | Fix example url in text helperAlexey Vakhov2012-05-021-1/+1
| |
* | Fix form tag with non GET/POST method exampleAlexey Vakhov2012-05-021-1/+1
| |
* | Documentation fix in options_for_select helper. Fixed display errors caused ↵Rodrigo Pavano2012-05-011-9/+26
|/ | | | by mixing Ruby and HTML code inside the same pre tag [ci skip]
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-011-1/+1
|\
| * Code-format references to config settingsMark Rushakoff2012-04-271-1/+1
| |
* | distance_of_time_in_words: Add/tweak comments to understand time intervals ↵Elliot Winkler2012-04-301-7/+12
| | | | | | | | better
* | 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