Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | add selected and disabled option to grouped select | Vasiliy Ermolovich | 2012-02-18 | 1 | -0/+18 | |
| | | ||||||
* | | Allow collection helpers with block to access current object in the collection | Carlos Antonio da Silva | 2012-02-13 | 1 | -0/+26 | |
| | | | | | | | | | | | | | | | | | | | | This gives a lot more flexibility to the user, for instance to generate a collection of check boxes and labels, allowing to add custom classes or data-* attributes to the label/check_box using another object attribute. This basically mimics options_for_select functionality that accepts a third option for each item to generate html attributes for each option. | |||||
* | | remove unwanted require for string encoding | Vishnu Atrai | 2012-02-13 | 1 | -1/+0 | |
| | | ||||||
* | | Add HTML5 input[type="date"] helper | Olek Janiszewski | 2012-02-12 | 2 | -1/+32 | |
| | | ||||||
* | | removed unnecessary code | ganesh | 2012-02-09 | 1 | -1/+0 | |
| | | ||||||
* | | Always use content_tag for audio/video tag | Rafael Mendonça França | 2012-02-07 | 1 | -15/+15 | |
| | | | | | | | | Closes #4919 | |||||
* | | Highlight defaults to HTML5 `mark` element | Brian Cardarella | 2012-02-05 | 1 | -12/+12 | |
| | | ||||||
* | | Add *_url helpers to get the full assets URL | Prem Sichanugrist | 2012-02-04 | 1 | -2/+129 | |
| | | | | | | | | | | | | | | Adds `image_url`, `javascript_url`, `stylesheet_url`, `audio_url`, `video_url`, and `font_url` to assets tag helper. These URL helpers will return the full path to your assets. This is useful when you are going to reference this asset from external host. | |||||
* | | Remove default class to collection_check_boxes and | Rafael Mendonça França | 2012-02-02 | 1 | -16/+16 | |
| | | | | | | | | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Allow collection radio_buttons/check_boxes to access current text/value | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+44 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Add changelog, docs and guides entries | Carlos Antonio da Silva | 2012-02-02 | 1 | -2/+20 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Allow proc for value/text method in collection_select | Carlos Antonio da Silva | 2012-02-02 | 1 | -10/+42 | |
| | | | | | | | | | | | | And options_from_collection_for_select as well. [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Create a Builder factory class to use with collection helpers + block | Carlos Antonio da Silva | 2012-02-02 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | This will make it easy for the user to handle how check box/radio and labels should be generated, abstracting any text/value/default html options required to make it work. [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Remove collection_wrapper* and item_wrapper* options | Carlos Antonio da Silva | 2012-02-02 | 1 | -173/+0 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Use @output_buffer variable instead of concat in tests | Carlos Antonio da Silva | 2012-02-02 | 1 | -10/+9 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Implement skipped test | Rafael Mendonça França | 2012-02-02 | 1 | -3/+5 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Add collection_radio_buttons and collection_check_boxes to FormBuilder | Rafael Mendonça França | 2012-02-02 | 1 | -9/+20 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Change Tag class to Category since there is another Tag class | Rafael Mendonça França | 2012-02-02 | 1 | -33/+33 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Add collection_check_boxes helper | Carlos Antonio da Silva | 2012-02-02 | 1 | -1/+227 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Create collection_radio_buttons helper | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+174 | |
| | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | Replicate :form html5 attribute to hidden field for check_box | Carlos Antonio da Silva | 2012-02-02 | 1 | -3/+10 | |
| | | | | | | | | | | When the new html5 attribute :form is given to the check_box helper, it should be replicated to the hidden field as well. Closes #4848 | |||||
* | | Merge pull request #4804 from rafaelfranca/check_box-fix | José Valim | 2012-02-01 | 1 | -0/+4 | |
|\ \ | | | | | | | check_box with nil as unchecked value should be HTML safe | |||||
| * | | check_box with nil as unchecked value should be HTML safe | Rafael Mendonça França | 2012-01-31 | 1 | -0/+4 | |
| | | | | | | | | | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | |||||
* | | | Move escape_once logic to ERB::Util, where it belongs to | Carlos Antonio da Silva | 2012-02-01 | 1 | -0/+14 | |
| | | | | | | | | | | | | | | | | | | All the logic is based on the HTML_ESCAPE constant available in ERB::Util, so it seems more logic to have the entire method there and just delegate the helper to use it. | |||||
* | | | Merge pull request #4672 from carlosantoniodasilva/av-url-helper | José Valim | 2012-02-01 | 1 | -8/+8 | |
|\ \ \ | | | | | | | | | Improvements on some url helper methods and tests | |||||
| * | | | Change OrderedHash with array options to simple hash usage | Carlos Antonio da Silva | 2012-01-25 | 1 | -8/+8 | |
| | | | | ||||||
* | | | | Remove slash from favicon_link_tag method attribute | Lucas Caton | 2012-01-31 | 1 | -1/+1 | |
| |/ / |/| | | ||||||
* | | | tiny refactoring | Vasiliy Ermolovich | 2012-01-29 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | use :default option with translate method instead of condition simplify separator method | |||||
* | | | Do not generate label for attribute when giving nil | Carlos Antonio da Silva | 2012-01-26 | 1 | -0/+4 | |
| | | | ||||||
* | | | reuse common video/audio tags code and do not modify options | Sergey Nartimov | 2012-01-26 | 1 | -0/+8 | |
| | | | ||||||
* | | | do not modify options in image_tag | Sergey Nartimov | 2012-01-26 | 1 | -0/+6 | |
| | | | ||||||
* | | | allow to pass multiple sources to audio/video tags without using array | Sergey Nartimov | 2012-01-25 | 1 | -0/+2 | |
|/ / | ||||||
* | | Do not mutate given options hash in number helpers | Carlos Antonio da Silva | 2012-01-25 | 1 | -0/+25 | |
| | | ||||||
* | | Make audio_tag able to receive multiple sources | Janko Marohnić | 2012-01-25 | 1 | -0/+2 | |
| | | ||||||
* | | Make path_to_video in video_tag apply to each source | Janko Marohnić | 2012-01-25 | 1 | -2/+2 | |
| | | ||||||
* | | Remove unused variables to avoid warnings | Rafael Mendonça França | 2012-01-24 | 1 | -3/+0 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Merge pull request #4641 from rafaelfranca/date_select-fix-3-2 | José Valim | 2012-01-24 | 1 | -1/+38 | |
| | | | | | | | | date_select fixes [3-2-stable] | |||||
* | | Raise a better error if anyone wants to create your own ↵ | Rafael Mendonça França | 2012-01-23 | 1 | -0/+8 | |
| | | | | | | | | ActionView::Helpers::Tags::Base child and do not implement the render method | |||||
* | | Raise exception when date.order includes invalid elements | Indrek Juhkam | 2012-01-22 | 1 | -0/+8 | |
| | | ||||||
* | | Fix inconsistent ability to use a range as choices for select_tag. | Jeremy Walker | 2012-01-21 | 1 | -0/+16 | |
| | | ||||||
* | | Removed unused assigns from ActionView::Template::Error | brainopia | 2012-01-20 | 1 | -2/+2 | |
| | | | | | | | | | | They existed since initial rails commit by DHH but lost use a long time ago | |||||
* | | Added format to percentage | Rodrigo Flores | 2012-01-20 | 1 | -0/+1 | |
| | | ||||||
* | | Refactor button_to helper to use token_tag method | Rafael Mendonça França | 2012-01-19 | 2 | -5/+24 | |
| | | ||||||
* | | ActionView now has its own logger | Rafael Mendonça França | 2012-01-18 | 1 | -3/+1 | |
| | | ||||||
* | | Fix warning: assigned but unused variable - result | kennyj | 2012-01-19 | 1 | -1/+1 | |
| | | ||||||
* | | Fix errors when running entire suite due to class name collision | Carlos Antonio da Silva | 2012-01-18 | 1 | -23/+23 | |
| | | | | | | | | | | | | | | | | | | The Post class is created everywhere in the test suite, and due to that when applying the Array() logic to refactor content_tag_for, some other change to the Post class was breaking record tag tests. The solution is to rename the class to not collide with others already defined in the test suite. | |||||
* | | Cleanup Post model, no need to require fake_models | Carlos Antonio da Silva | 2012-01-18 | 1 | -17/+6 | |
| | | ||||||
* | | Do not mutate options hash | Carlos Antonio da Silva | 2012-01-18 | 1 | -0/+6 | |
| | | ||||||
* | | Cleanup persisted setup for model | Carlos Antonio da Silva | 2012-01-18 | 1 | -7/+7 | |
| | | ||||||
* | | Mimic AR models yielding when building new records, avoid using tap | Carlos Antonio da Silva | 2012-01-18 | 1 | -6/+8 | |
| | |