aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/tags/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug creating invalid HTML in select optionsRusty Geldmacher2012-07-101-2/+2
| | | | | | When a select tag is created for a field with errors, then the inserted options will errantly have a <div class="field_with_errors"> wrapping them.
* Make :prompt work as documentedRafael Mendonça França2012-05-161-2/+1
|
* 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
|
* 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
* pass default value as argument to fetchSergey Nartimov2012-04-061-1/+1
|
* add 'include_hidden' option to select tag, closes #5402Vasiliy Ermolovich2012-03-131-1/+2
|
* Fixes #5324 by removing default size options from input:text and default ↵Philip Arndt2012-03-101-2/+0
| | | | cols and rows options from textarea.
* Merge branch 'master-security'Aaron Patterson2012-03-011-3/+2
|\ | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb
| * fix output safety issue with select optionsSergey Nartimov2012-02-201-3/+3
| |
* | use content_tag instead stringsVasiliy Ermolovich2012-02-251-3/+4
| |
* | correct fetching :name option in form fieldsVasiliy Ermolovich2012-02-231-3/+3
|/
* Add HTML5 input[type="date"] helperOlek Janiszewski2012-02-121-1/+1
|
* Refactor value sanitization logicCarlos Antonio da Silva2012-02-021-7/+15
| | | | | | | | | | * Extract value sanitization from default name and id method and new collection helpers; * No need to sanitize value in default name and id always; * Improve value_before_type_cast to avoid concating the same method name string twice. [Carlos Antonio da Silva + Rafael Mendonça França]
* Refactor the methods to use instance variablesRafael Mendonça França2012-02-021-1/+5
| | | | [Carlos Antonio da Silva + Rafael Mendonça França]
* Raise a better error if anyone wants to create your own ↵Rafael Mendonça França2012-01-231-2/+3
| | | | ActionView::Helpers::Tags::Base child and do not implement the render method
* Extract input_checked? to a moduleRafael Mendonça França2012-01-171-9/+0
|
* Extract CollectionSelectRafael Mendonça França2012-01-171-0/+23
|
* Remove code duplication between CheckBox ans RadioButtonRafael Mendonça França2012-01-171-0/+9
|
* Extract RadioButtonRafael Mendonça França2012-01-171-0/+4
|
* Rename classesRafael Mendonça França2012-01-171-0/+107