pauladaniel / calendardateselect

Automatically exported from code.google.com/p/calendardateselect
Other
0 stars 0 forks source link

image attribute is not W3C standard #158

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. creating the input in method calendar_date_select
2. the options hash still contains the key :image
3. an image attribute for input tag is not W3C standard

What is the expected output? What do you see instead?
The image attribute of the input tag is needless and following the W3C
standard it is forbidden. So I expect to remove the image attribute by
preventing the assignment:
tag.to_input_field_tag( (javascript_options[:hidden] ||
javascript_options[:embedded]) ? "hidden" : "text", options.except(:image))
# instead

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by chrishaw...@gmx.de on 12 Feb 2009 at 12:42

GoogleCodeExporter commented 8 years ago
This bug has been solved before.  Are you using the latest CDS?

Original comment by timchar...@gmail.com on 12 Feb 2009 at 4:23

GoogleCodeExporter commented 8 years ago
nevermind... it is happening again.  thanks

Original comment by timchar...@gmail.com on 20 Feb 2009 at 5:32

GoogleCodeExporter commented 8 years ago

Original comment by timchar...@gmail.com on 20 Feb 2009 at 5:45