Skip to content

Instantly share code, notes, and snippets.

@zackperdue
Last active December 12, 2015 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zackperdue/4726516 to your computer and use it in GitHub Desktop.
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!!!!
<!-- 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