You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The form content were render in wrong place (outside of form tag), it will work correctly if I rewrite the form.html.erb to haml, I guess that maybe a bug.
The text was updated successfully, but these errors were encountered:
@serv good point, I try to move the yield into form_tag and even remove the yield from partial, neither is working (the input tags are still outside). And I try to change the <% end %> but still no lucky.
It will work if I write form tag manually instead using form_tag helper method. Something is wrong while rendering the form_tag in this case.
Hi there, I have got a problem when I try to render a erb partial as layout, actually there are 2 key elements to reproduce:
Please check the sample code below:
this gets compiled to:
The form content were render in wrong place (outside of form tag), it will work correctly if I rewrite the
form.html.erb
to haml, I guess that maybe a bug.The text was updated successfully, but these errors were encountered: