aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
...
* Include label value in i18n attribute lookupJoshua Cody2014-05-061-0/+20
| | | | | | | | | | | | | | | | | | | | | Previously, only the object and method name from the label tag were used when looking up the translation for a label. If a value is given for the label, this ought to be additionally used. The following: # form.html.erb <%= form_for @post do |f| %> <%= f.label :type, value: "long" %> <% end %> # en.yml en: activerecord: attributes: post/long: "Long-form Post" Used to simply return "long", but now it will return "Long-form Post".
* Enhance a bit a few changelog entries [ci skip]Robin Dupret2014-05-021-2/+2
|
* always use File.joinphoet2014-05-011-0/+10
|
* Change favicon_link_tag helper mimetype from image/vnd.microsoft.icon to ↵glorieux2014-04-211-0/+15
| | | | | | | | image/x-icon. Although the official IANA-registered MIME type for ICO files is image/vnd.microsoft.icon, registered in 2003, it was submitted to IANA by a third party and is not recognized by Microsoft products. The MIME type image/x-icon should be used since is the one recognized by the major browsers on the market.
* Merge pull request #14738 from tilsammans/pull/11407Rafael Mendonça França2014-04-171-0/+8
|\ | | | | | | | | | | | | Remove wrapping div with inline styles for hidden form fields. Conflicts: actionview/CHANGELOG.md
| * Remove wrapping div with inline styles for hidden form fields.Joost Baaij2014-04-141-0/+8
| | | | | | | | | | | | We are dropping HTML 4.01 and XHTML strict compliance since input tags directly inside a form are valid HTML5, and the absense of inline styles help in validating for Content Security Policy.
* | `collection_check_boxes` respects `:index` option for the hidden filed name.Vasiliy Ermolovich2014-04-141-0/+6
|/ | | | closes #14147
* Fix date_select option overwriting html classesIzumi Wong-Horiuchi2014-03-241-0/+4
| | | | | with_css_classes: true option overwrites other html classes. Concatenate day month and year classes rather than overwriting.
* fix `number_to_percentage` with `Float::NAN`, `Float::INFINITY`.Yves Senn2014-03-171-0/+7
| | | | | | | Closes #14405. This is a follow-up to 9e997e9039435617b6a844158f5437e97f6bc107 to restore the documented behavior.
* Merge pull request #12662 from nashby/include-hidden-collectionRafael Mendonça França2014-03-151-0/+4
|\ | | | | | | | | | | | | | | add include_hidden option to collection_check_boxes helper Conflicts: actionview/CHANGELOG.md actionview/test/template/form_collections_helper_test.rb
| * add include_hidden option to collection_check_boxes helperVasiliy Ermolovich2013-10-271-1/+5
| |
* | Variants in ActionView::DigestorPiotr Chmolowski2014-03-041-0/+9
| | | | | | | | | | | | | | | | | | | | | | Take variants into account when calculating template digests in ActionView::Digest. Digestor#digest now takes a hash as an argument to support variants and allow more flexibility in the future. Old-style arguments have been deprecated. Fixes #14242
* | Added missing changlog entry for #14255Godfrey Chan2014-03-041-0/+7
| |
* | Point master changelogs to 4-1-stable branchCarlos Antonio da Silva2014-02-251-331/+1
| | | | | | | | Remove 4-1 related entries from master [ci skip]
* | Fix ActionView label translation for more than 10 nested elementsVladimir Krylov2014-02-241-1/+5
| |
* | Merge branch '4-1-0-beta2'Rafael Mendonça França2014-02-181-0/+4
|\ \ | | | | | | | | | | | | | | | Conflicts: actionview/CHANGELOG.md activerecord/CHANGELOG.md
| * | Preparing for 4.1.0.beta2 releaseRafael Mendonça França2014-02-181-0/+4
| | |
* | | Add missing CHANGELOG entry to Action ViewPrem Sichanugrist2014-02-181-0/+5
| | |
* | | implements new option :month_format_string for date select helpers [Closes ↵Xavier Noria2014-02-151-0/+14
| | | | | | | | | | | | #13618]
* | | Minor changelog improvements [ci skip]Carlos Antonio da Silva2014-01-311-1/+1
| | |
* | | tidy CHANGELOGs [ci skip]Yves Senn2014-01-301-8/+10
| | |
* | | Rails config for raise on missing translationsKassio Borges2014-01-271-0/+7
| | | | | | | | | | | | | | | Add a config to setup whether raise exception for missing translation or not.
* | | Update changelogJoão Britto2014-01-091-0/+7
| | |
* | | Switched to use `display:none` in extra_tags_for_form method.Gaelian Ditchburn2014-01-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Add a changelog entry for #13363 [ci skip]Robin Dupret2013-12-211-0/+8
|/ /
* | Merge pull request #13059 from imkmf/cycle-accepts-arrayRafael Mendonça França2013-12-061-0/+18
|\ \ | | | | | | | | | | | | | | | | | | Cycle object should accept an array Conflicts: actionview/CHANGELOG.md
| * | A Cycle object should accept an array and cycle through it as it wouldKristian Freeman2013-12-061-0/+16
| | | | | | | | | | | | with a set of comma-separated objects.
* | | Label only accepts `:index` and `:namespace` attributes from the inputAndriel Nuernberg2013-12-051-0/+25
| | |
* | | Added \u2028 \u2029 to json_escapeGodfrey Chan2013-12-041-0/+3
| | |
* | | Fixed a long-standing bug in `json_escape` that strips quotation marksGodfrey Chan2013-12-041-0/+4
| | |
* | | `ActionView::MissingTemplate` for partials includes underscore.Yves Senn2013-12-021-0/+6
|/ / | | | | | | | | | | Missing partial folder/_partial instead of folder/partial. Closes #13002.
* | Use `set_backtrace` instead of `@backtrace` in ActionView errorShimpei Makimoto2013-11-161-0/+4
| |
* | Improve changelogs formatting [ci skip]Carlos Antonio da Silva2013-11-091-6/+6
| |
* | fix simple_format escapes own output when sanitize is set to truepseidemann2013-11-081-1/+5
| |
* | Fix typo in the CHANGELOGJérémy Lecour2013-10-311-1/+1
|/
* update changelogBrad Murray2013-10-151-0/+5
|
* Add CHANGELOG entry for #12344Rafael Mendonça França2013-09-241-0/+5
| | | | [ci skip]
* Fix some edge cases for AV `select` helper with `:selected` optionBogdan Gusiev2013-09-231-0/+4
|
* Use ERB in the CHANGELOG [ci skip]Rafael Mendonça França2013-09-231-3/+5
|
* Ability to pass block to AV#select helperBogdan Gusiev2013-09-231-0/+8
| | | | | | | | Example: = select(report, "campaign_ids") do - available_campaigns.each do |c| %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name
* handle `:namespace` form option in collection labelsVasiliy Ermolovich2013-09-221-0/+4
|
* Bust the template digest cache key when details are changedDaniel Schierbeck2013-09-191-0/+6
| | | | | | Since the lookup details will influence which template is resolved, they need to be included in the cache key -- otherwise two different templates may erroneously share the same digest value.
* Merge pull request #12112 from adamniedzielski/fix-form-for-namespace-and-asRafael Mendonça França2013-09-121-0/+7
|\ | | | | | | | | | | | | form_for - fix :namespace and :as options clash Conflicts: actionview/CHANGELOG.md
| * form_for - fix :namespace and :as options clashAdam Niedzielski2013-09-091-0/+7
| | | | | | | | | | | | | | | | :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
* | Write the right CHANGELOG entry for #11603Rafael Mendonça França2013-09-121-1/+1
| | | | | | | | [ci skip]
* | Cleanup of excerpt helperPaul Nikitochkin2013-09-061-0/+4
|/ | | | | * replaced String concatenation by joining * separator has default value to '', even it is nil
* Improve CHANGELOG entry [ci skip]Rafael Mendonça França2013-08-271-4/+2
|
* Only cache template digests if config.cache_template_loadingJosh Lauer2013-08-061-0/+6
| | | | | | since ActionView::Resolver.caching is set to the same value as config.cache_template_loading only cache template digests if config.cache_template_loading is not falsy fixes issues #10752 and #10791
* Add "extname" option to javascript_include_tagNathan Stitt2013-08-031-0/+14
| | | | | | | | | | | | ActionView::Helpers.asset_path is where the logic for javascript_include_tag resides. It takes an extname option for specifying the extension or false to not append it. This exposes that option to javascript_include_tag. Without the option files that didn't end with ".js" would get the extension appended to them. This broke JST templates and other file types that should be interpreted as JavaScript but who's file extension isn't ".js"
* fix the changelog typo[ci skip]Rajarshi Das2013-08-021-1/+1
|