Last active
December 12, 2015 06:08
-
-
Save zackperdue/4726516 to your computer and use it in GitHub Desktop.
Note: Modal body is part of another view. (using twitter bootstrap) Why is my Form tag not showing up? Driving me nuts!!!!
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
<!-- unexpected html. missing form element once it is rendered to page --> | |
<div class="modal-body"> | |
<p>This is a safety feature so you don't do something you didn't mean to do.</p> | |
<div class="control-group"> | |
<div class="controls"> | |
<input type="password" name="password" placeholder="Your Account Password"> | |
</div> | |
</div> | |
<button class="btn btn-primary" type="submit">Confirm</button> | |
</div> | |
<!-- view file with form element in tact --> | |
<form action="" method="post" id="password-confirmation-form"> | |
<p>This is a safety feature so you don't do something you didn't mean to do.</p> | |
<div class="control-group"> | |
<div class="controls"> | |
<input type="password" name="password" placeholder="Your Account Password" /> | |
</div> | |
</div> | |
<button class="btn btn-primary" type="submit">Confirm</button> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment