]> source.dussan.org Git - redmine.git/commit
Fix duplicated 'back_url' IDs
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Mar 2012 00:02:20 +0000 (00:02 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Mar 2012 00:02:20 +0000 (00:02 +0000)
commit27c390bb62d0304b724a4d4ef6431147365232ba
treee61bf09be78a72d47aba0c800e69cf13f70cca0c
parentc8af69342b92492892c6424e1a15671d5b1b5f83
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.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9250 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/helpers/application_helper.rb
app/views/issues/_list.html.erb