Sorry the code came out bad.
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">Sign In <strong class="caret"></strong></a>
<div class="dropdown-menu" style="padding: 15px; padding-bottom: 0px;">
<form action="<?php bloginfo('url') ?>/wp-login.php" method="post" >
<input id="user_username" style="margin-bottom: 15px;" type="text" name="log" size="30" required for=""/>
<input id="user_password" style="margin-bottom: 15px;" type="password" name="pwd" size="30" required for=""/>
<input id="user_remember_me" style="float: left; margin-right: 10px;" type="checkbox" name="rememberme" value="1" />
<label class="string optional" for="user_remember_me"> Remember me</label>
<input class="btn btn-primary" style="clear: left; width: 100%; height: 32px; font-size: 13px;" type="submit" name="commit" value="Sign In" />
<label><a href="wp-login.php?action=lostpassword">Lost your password?</a></label>
<input type="hidden" name="redirect_to" value="<?php home_url(); ?>">
</form>
</div>
</li>