Menu

Commit [r9250]  Maximize  Restore  History

Fix duplicated 'back_url' IDs

Various hidden input fields are used to hold a URL to send the user back
to the correct page after submitting a form, however, they all use the
same ID which isn't allowed in HTML. Passing in 'id' as nil stops the
'hidden_field_tag' from adding an ID attribute to the tag.

Contributed by Andrew Smith.

tmaruyama 2012-03-24

changed /trunk/app/helpers/application_helper.rb
changed /trunk/app/views/issues/_list.html.erb
/trunk/app/helpers/application_helper.rb Diff Switch to side-by-side view
Loading...
/trunk/app/views/issues/_list.html.erb Diff Switch to side-by-side view
Loading...