Skip to content

Instantly share code, notes, and snippets.

@jmif
Created April 22, 2012 18:47
Show Gist options
  • Save jmif/2466147 to your computer and use it in GitHub Desktop.
Save jmif/2466147 to your computer and use it in GitHub Desktop.
Twitter Bootstrap Navbar Login Form HTML
<form action="[YOUR ACTION]" method="post" accept-charset="UTF-8">
<input id="user_username" style="margin-bottom: 15px;" type="text" name="user[username]" size="30" />
<input id="user_password" style="margin-bottom: 15px;" type="password" name="user[password]" size="30" />
<input id="user_remember_me" style="float: left; margin-right: 10px;" type="checkbox" name="user[remember_me]" 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" />
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment