Skip to content
This repository

May 08, 2011

  1. Jason Roth

    Fixed documentation of select tag; options with html need to pass thr…

    authored May 08, 2011

May 03, 2011

  1. Daniel Lopes

    fix select_tag to have the same behavior of select

Mar 05, 2011

  1. R.T. Lechow

    Action Pack typos.

    authored March 04, 2011 fxn committed March 05, 2011

Feb 12, 2011

  1. Tom Stuart

    Add block support to button_tag helper

    As per the HTML 4.01 spec:
    
      Buttons created with the BUTTON element function just like buttons
      created with the INPUT element, but they offer richer rendering
      possibilities: the BUTTON element may have content. For example, a
      BUTTON element that contains an image functions like and may resemble
      an INPUT element whose type is set to "image", but the BUTTON element
      type allows content.
    
    Since rich content is the main purpose of the <button> element, it makes
    sense for the button_tag helper to accept a block.
    
    http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON
    http://dev.w3.org/html5/spec/the-button-element.html#the-button-element
    
    Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
    authored February 12, 2011 Santiago Pastorino and Emilio Tagua committed February 12, 2011
  2. Tom Stuart

    Make type="submit" the default for button_tag helper

    "submit" is the default value of the <button> element's type attribute
    according to the HTML 4.01 and the HTML5 draft specs, so if button_tag
    is going to have a default, type="submit" is a more sensible choice than
    type="button".
    
    http://www.w3.org/TR/html401/interact/forms.html#adef-type-BUTTON
    http://dev.w3.org/html5/spec/the-button-element.html#attr-button-type
    
    Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
    authored February 12, 2011 Santiago Pastorino and Emilio Tagua committed February 12, 2011

Jan 13, 2011

  1. Santiago Pastorino

    button_tag should escape it content

    authored January 12, 2011

Jan 09, 2011

  1. authenticity_token option for form_tag [#2988 state:resolved]

    authored December 27, 2010 jeremy committed January 09, 2011
  2. Rizwan Reza

    HTML5 button_tag helper

    This tag is similar in nature to submit_tag, but allows more control.
    It also doesn't submit if submit type isn't used, allowing JavaScript to
    control the flow where required.
    
    For more information: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element
    authored December 23, 2010 jeremy committed January 09, 2011

Dec 15, 2010

  1. Aditya Sanghi

    eternal confusion! fixed doco to inform correctly

    authored December 15, 2010

Dec 13, 2010

  1. Ben Mills

    Added :placeholder option to ActionView::Helpers::FormTagHelper text_…

    …field_tag
    authored December 12, 2010 radar committed December 13, 2010

Nov 28, 2010

  1. Akira Matsuda

    Added a space before "do" keyword

    authored November 11, 2010

Oct 18, 2010

  1. Santiago Pastorino

    Call html_escape in ERB::Util module and don't mix it in in the helpers

    authored October 18, 2010

Oct 11, 2010

  1. Santiago Pastorino

    Refactor a bit this code to add data-confirm and data-disable-with

    authored October 11, 2010

Sep 25, 2010

  1. Carlos Antonio da Silva

    Select tags with array options are deprecated, removing

    authored September 25, 2010 josevalim committed September 26, 2010

Aug 18, 2010

  1. Yehuda Katz

    Revert "It's snowing!"

    This reverts commit e428300.
    authored August 18, 2010

Aug 14, 2010

  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    …ec sed 's/[ \t]*$//' -i {} \;)
    authored August 14, 2010

Aug 12, 2010

  1. Jeremy Kemper

    It's snowing!

    authored August 12, 2010
  2. Yehuda Katz

    Replace snowman with utf8=✓

    authored August 11, 2010

Aug 09, 2010

  1. Yehuda Katz

    rename _snowman to _e

    authored August 09, 2010

Jul 25, 2010

  1. Santiago Pastorino

    Change returning with tap

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored July 25, 2010 josevalim committed July 25, 2010

Jun 29, 2010

  1. Xavier Noria

    s/escape_once/html_escape/, since html safety is the contract that no…

    …w says whether something has to be escaped
    authored June 30, 2010
  2. Xavier Noria

    url_for no longer escapes HTML, the :escape option is also gone

    Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc.
    authored June 29, 2010
  3. José Valim

    Rename _snowman_ to _snowman to be in sync with _method and _csrf_token.

    authored June 29, 2010

Jun 28, 2010

  1. Yehuda Katz

    Small typo

    authored June 27, 2010
  2. Yehuda Katz

    Fix several known web encoding issues:

    * Specify accept-charset on all forms. All recent browsers,
      as well as IE5+, will use the encoding specified for form
      parameters
    * Unfortunately, IE5+ will not look at accept-charset unless
      at least one character in the form's values is not in the
      page's charset. Since the user can override the default
      charset (which Rails sets to UTF-8), we provide a hidden
      input containing a unicode character, forcing IE to look
      at the accept-charset.
    * Now that the vast majority of web input is UTF-8, we set
      the inbound parameters to UTF-8. This will eliminate many
      cases of incompatible encodings between ASCII-8BIT and
      UTF-8.
    * You can safely ignore params[:_snowman_]
    
    TODO:
    
    * Validate inbound text to confirm it is UTF-8
    * Combine the whole_form implementations in form_helper_test
      and form_tag_helper_test
    authored June 27, 2010

Jun 16, 2010

  1. Rizwan Reza

    Adds title and description where needed.

    authored June 16, 2010

Jun 11, 2010

  1. Evgeniy Dolzhenko

    Fix a bunch of minor spelling mistakes

    authored June 11, 2010

May 25, 2010

  1. Jeremy Kemper

    HTML safety: fix textarea with nil content

    authored May 24, 2010

May 15, 2010

  1. José Valim

    Improve previous patch a bit [#3645 state:resolved]

    authored May 15, 2010
  2. Stephen Celis

    Let label helpers accept blocks.

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored April 20, 2010 josevalim committed May 15, 2010

Apr 09, 2010

  1. Xavier Noria

    image_path -> path_to_image in a couple of places, plus motivation fo…

    …r path_to_image in rdoc
    authored April 09, 2010

Apr 08, 2010

  1. David Heinemeier Hansson

    Consistently use lowercase instead of camelCase for all JS class name…

    …s in Rails
    authored April 08, 2010
  2. Jeremy Kemper

    Remove superfluous condition

    authored April 08, 2010

Apr 06, 2010

  1. Xavier Noria

    Merge commit 'rails/master'

    authored April 06, 2010

Apr 05, 2010

  1. David Heinemeier Hansson

    Added all the new HTML5 form types as individual form tag methods (se…

    …arch, url, number, etc) (Closes #3646) [Stephen Celis]
    authored April 05, 2010
Something went wrong with that request. Please try again.