Skip to content

Instantly share code, notes, and snippets.

@jsmuster
Last active December 23, 2018 18:46
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 jsmuster/e4668ee611179808380ff378d921e2e0 to your computer and use it in GitHub Desktop.
Save jsmuster/e4668ee611179808380ff378d921e2e0 to your computer and use it in GitHub Desktop.
<form>
<div class="form-group has-error"> <!-- First Name -->
<label for="first_name" class="control-label">First Name</label>
<input type="text" class="form-control" id="first_name" name="first_name" placeholder="Martin">
<p id="first_name_error" class="help-block">Invalid first name.</p>
</div>
<div class="form-group has-error"> <!-- Last Name -->
<label for="last_name" class="control-label">Last Name</label>
<input type="text" class="form-control" id="last_name" name="last_name" placeholder="Toha">
<p id="last_name_error" class="help-block">Invalid last name.</p>
</div>
<div class="form-group has-error"> <!-- Email -->
<label for="email" class="control-label">E-mail</label>
<input type="text" class="form-control" id="email" name="email" placeholder="your@email.com">
<p id="email_error" class="help-block">Invalid email address.</p>
</div>
<div class="form-group has-error"> <!-- Zip Code -->
<label for="zipcode" class="control-label">Zip Code</label>
<input type="text" class="form-control" id="zipcode" name="zipcode" placeholder="#####">
<p id="zipcode_error" class="help-block">Invalid zip code.</p>
</div>
<div class="form-group has-error"> <!-- Password -->
<label for="password" class="control-label">Password</label>
<input type="text" class="form-control" id="password" name="password" placeholder="*****">
<p id="password_error" class="help-block">Invalid password.</p>
</div>
<div class="form-group has-error"> <!-- Register Button -->
<button type="submit" class="btn btn-primary">Register</button>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment