Skip to content
Create a gist now

Instantly share code, notes, and snippets.

formtastic nested attr
#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">
...
@devth
devth commented Feb 1, 2012

impossible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.