Please post your code somewhere where it won't get reformatted, like http://gist.github.com.
On Thu, Oct 7, 2010 at 6:33 AM, Matias <[email protected]> wrote: > I have the problem with this code: > > > #search-section > = form_tag(:controller => 'grants', :action => 'search', :method > => 'get') > = text_field_tag :search, params[:search], :id => > 'search_field' > = submit_tag "Search", :name => nil > = link_to_function "Clear", "$('search_field').clear()" > > > #video > #title > #example > #controls > > I get this error: > > Illegal nesting: nesting within plain text is illegal. > Extracted source (around line #49): > > 46: 4 = link_to_function "Clear", "$('search_field').clear()" > 47: 5 > 48: > 49: #video > 50: #title > 51: #example > 52: #controls > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
