call-tag doesn't obey for-type
Reported by Matt Jones | August 6th, 2010 @ 04:44 AM | in Hobo 1.4 for Rails 3.2.X
I ran into this while building a user class-based nav: call-tag doesn't appear to work with for-type. It still successfully invokes polymorphic tags based on context (otherwise field-list wouldn't work...) so it's a little surprising that it doesn't follow the standard behavior.
Comments and changes to this ticket
-
Matt Jones September 15th, 2011 @ 06:15 PM
- State changed from new to open
- Milestone set to Hobo 1.3 (Rails 3)
- Milestone order changed from 26675 to 0
-
Matt Jones September 21st, 2011 @ 07:47 PM
- Milestone order changed from 4 to 0
(from [aceb7afc384287b19e59ebb94020a2c509143c76]) [#779] for-type now works outside of tag definitions https://github.com/tablatom/hobo/commit/aceb7afc384287b19e59ebb9402...
-
Matt Jones September 21st, 2011 @ 07:48 PM
- State changed from open to resolved
Final result:
for-type
didn't actually work at all outside of a polymorphic tag definition. That's fixed now. -
Matt Jones January 9th, 2012 @ 07:40 PM
- State changed from resolved to open
- Milestone changed from Hobo 1.3 (Rails 3) to Hobo 1.4 for Rails 3.2.X
- Milestone order changed from 5 to 0
Reopening - the current implementation leaks the for-type attribute into the generated markup under some conditions. See the polymorphic tag tests in the dryml-tests branch for more info.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 779 call-tag doesn't obey for-type (from [aceb7afc384287b19e59ebb94020a2c509143c76]) [#779] ...