ruby forms in div elements -
i'm having issue form generated ruby isn't included inside #content
div, because form generated after html read browser (sorry if sound moron on this)
-- edit update - view source --
the code below generates email box , submit button outside of content box
<div id="content"> <!-- text here --> <form accept-charset="utf-8" action="/password_resets" method="post"> <div style="margin:0;padding:0;display:inline"> <input name="utf8" type="hidden" value="✓" /> <input name="authenticity_token" type="hidden" value="afmtpsac93w1umcnouhy9xmbvtm7fe1vnfvzknp0kms=" /> </div> <div class="field"> <input id="email" name="email" placeholder="email@website.com" type="text" /> </div> <div class="actions"> <input name="commit" type="submit" value="reset password" /> </form> </div> </div>
i'm not sure got question right, in html above last </form> </div>
should </div> </form>
Comments
Post a Comment