Created
February 1, 2012 23:31
-
-
Save ryanisinallofus/1720151 to your computer and use it in GitHub Desktop.
formtastic nested attr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#issue | |
%li.ticket_types | |
= f.inputs :for => :ticket_types do |tt| | |
<li class="ticket_types"></li> | |
<li class="input"> <!-- uh oh! -> | |
... | |
#work around | |
%li | |
%span.formtastic_haml_hack | |
= f.inputs :for => :ticket_types do |tt| | |
#generates | |
<li class="ticket_types"> | |
<span class="formtastic_haml_hack"> | |
<li class="input"> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
impossible!