Bootstrap multiple "fixed-width inputs" in 1 Column - css

I want to achieve that the following is on 1 line
http://jsfiddle.net/strgga/6yanLf8q/30/
.rightstraight {
border-bottom-right-radius: 0px;
border-top-right-radius: 0px;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomright: 0;
}
.leftstraight {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
-moz-border-radius-topleft: 0;
-moz-border-radius-bottomleft: 0;
}
.input-group-addon.primary {
color: rgb(255, 255, 255);
background-color: rgb(50, 118, 177);
border-color: rgb(40, 94, 142);
}
.input-group-addon.success {
color: rgb(255, 255, 255);
background-color: rgb(92, 184, 92);
border-color: rgb(76, 174, 76);
}
.input-group-addon.info {
// color: rgb(255, 255, 255);
// background-color: rgb(57, 179, 215);
// border-color: rgb(38, 154, 188);
border: 1px solid #ccc;
background-color: rgb(255, 255, 255);
color: rgb(0, 0, 0);
}
.input-group-addon.warning {
color: rgb(255, 255, 255);
background-color: rgb(240, 173, 78);
border-color: rgb(238, 162, 54);
}
.input-group-addon.danger {
color: rgb(255, 255, 255);
background-color: rgb(217, 83, 79);
border-color: rgb(212, 63, 58);
}
.has-feedback .form-control-feedback {
right: 0px !important;
top: 0;
padding-right: 4px !important;
}
.form-control-feedback {
width: 22px !important;
text-align: left !important;
}
.has-feedback .form-control {
padding-right: 22px !important;
}
.righta {
text-align: right;
}
.middla {
text-align: center;
}
.slim {
width: 61px;
}
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" />
<div class="container">
<h2>Gratisofferte</h2>
<form role="form" class="form-horizontal">
<div id="form1">
<div class="form-group ">
<div class="col-sm-4 col-xs-5">
<label>Aktuelle Adresse</label>
<div class=" has-feedback has-success">
<input class="rightstraight form-control" placeholder="z.B. Paradiesstrasse 10" type="text" id="n_adr">
<span id="fname1" class="glyphicon form-control-feedback glyphicon-ok"></span>
</div>
</div>
<div class="col-sm-3 col-xs-4" style="margin-left:-30px;">
<label>PLZ</label>
<input class="leftstraight form-control" placeholder="PLZ" type="text" id="n_plz">
</div>
<div class="col-sm-5 col-xs-3">
<label>Zimmer</label>
<select class="slim form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<label>Etage</label>
<select class="slim form-control">
<option>E</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<label>Lift</label>
<select class="slim form-control">
<option>ja</option>
<option>nein</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<button id="next" type="submit" class="btn btn-info pull-right">weiter</button>
</div>
</div>
</div>
</form>
<hr>
</div>
Why bootstrap doesn't put the selects on one line? They are in a column bounded?

Check this you need like this way..DEMO
<div class="container">
<h2>Gratisofferte</h2>
<form role="form">
<div class="form-group col-md-3">
<label>Aktuelle Adresse</label>
<input class="form-control " placeholder="z.B. Paradiesstrasse 10" type="text" id="n_adr">
<span id="fname1" class="glyphicon form-control-feedback glyphicon-ok"></span>
</div> <div class="form-group col-md-2">
<label>PLZ</label>
<input class="leftstraight form-control" placeholder="PLZ" type="text" id="n_plz">
</div>
<div class="form-group col-md-2">
<label>Zimmer</label>
<select class="slim form-control"> <option>1</option> <option>2</option> <option>3</option> <option>4</option></select>
</div>
<div class="form-group col-md-2">
<label>Etage</label>
<select class="slim form-control"> <option>E</option><option>1</option> <option>2</option> <option>3</option> <option>4</option></select></div>
<div class="form-group col-md-2">
<label>Lift</label>
<select class="slim form-control"> <option>ja</option> <option>nein</option></select>
</div>
<div class="form-group col-md-1">
<button id="next" type="submit" class="btn btn-info pull-right">weiter</button>
</div>
</form>
<hr>
</div>

The answer is given from christina in this post
Two inputs same form column taking all the cell width Bootstrap 3
The solution lies in the nesting of rows, therefor making it thiner=exacter than within the 12-part grid. So you put a first grid in 4-4-4 and than you can create a grid in each of this grids again. this way you can achieve more than a 12-tel of a grid. For example you can split the last column in 5-5-1 which results in a total break-down of 13 % - 13 % and 2.7 % (= a 12-tel of 0.33).
<div class="container">
<h2>Gratisofferte</h2>
<form role="form" class="form-horizontal">
<div id="form1">
<div class="form-group ">
<div class="col-sm-4 col-xs-5">
<label>Aktuelle Adresse</label>
<div class=" has-feedback has-success">
<input class="rightstraight form-control" placeholder="z.B. Paradiesstrasse 10" type="text" id="n_adr">
<span id="fname1" class="glyphicon form-control-feedback glyphicon-ok"></span></div>
</div>
<div class="col-sm-3 col-xs-4" style="margin-left:-30px;">
<label>PLZ</label>
<input class="leftstraight form-control" placeholder="PLZ" type="text" id="n_plz">
</div>
<div class="col-sm-5 col-xs-3">
<div class="row">
<div class="col-sm-4 col-xs-4" style="">
<label>Zimmer</label>
<select class="slim form-control"> <option>1</option> <option>2</option> <option>3</option> <option>4</option></select>
</div>
<div class="col-sm-4 col-xs-4" style="margin-left:-30px;">
<label>Etage</label>
<select class="slim form-control"> <option>E</option><option>1</option> <option>2</option> <option>3</option> <option>4</option></select>
</div>
<div class="col-sm-4 col-xs-4" style="margin-left:-30px;">
<label>Lift</label>
<select class="slim form-control"> <option>ja</option> <option>nein</option></select>
</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<button id="next" type="submit" class="btn btn-info pull-right">weiter</button>
</div>
</div>
</div>
</form>
<hr>
</div>
http://jsfiddle.net/strgga/6yanLf8q/33/
As for the question i don't know any way to put above-labels in place without putting the input-label combo in a seperate col. maybe with custom css only.

Related

Cannot get webpage content to fill screen

I am currently working on a webpage login/signup screen and I can't get the content to display on the whole screen. I am using Bulma as the library and handlebars. On my dashboard page after login, the content displays full screen but I can't get the login page to do the same.
Any help would be appreciated.
body {
background-repeat: no-repeat;
background-size: cover;
background-image: url("https://wallpaperaccess.com/full/1431610.jpg");
}
.login-container {
display: flex;
justify-content: center;
text-align: left;
}
.card-header {
justify-content: center;
padding: 10px 0px;
}
.country-label {
color: white;
text-shadow: 2px 2px black;
}
.signin-title {
color: white;
text-shadow: 2px 2px black;
font-size: 40px;
}
<section class="hero" style="background-color: rgb(10, 163, 125); border-bottom: rgb(12, 14, 15) 5px solid; border-left: rgb(12, 14, 15) 5px solid; border-right: rgb(12, 14, 15) 5px solid ">
<div class="hero-body">
<div class="container">
<h1 class="title has-text-centered animated lightSpeedIn">
Take Me Away....<i class="fa-solid fa-earth-africa"></i>
</h1>
</section>
<section class="section">
<div class="login-container">
<div class="columns">
<div class="column is-half">
<h1 class="signin-title"> Sign in</h1>
<form class="form login-form">
<div class="field">
<label for="email-login">Email</label>
<p class="control has-icons-left has-icons-right">
<input class="input" type="email" name="email" placeholder="Email" id="email-login">
<span class="icon is-small is-left">
<i class="fa-solid fa-envelope"></i>
</span>
</p>
</div>
<div class="field">
<label for="password-login">Password</label>
<p class="control has-icons-left has-icons-right">
<input class="input" type="password" name="password" placeholder="Password" id="password-login">
<span class="icon is-small is-left">
<i class="fa-solid fa-key"></i>
</span>
</p>
</div>
<div class="field">
<p class="control">
<button class="btn btn-primary" type="submit">
Login
</button>
</p>
</div>
</form>
</div>
<form class="form signup-form">
<div class="column">
<h1 class="signin-title">Sign Up</h1>
<div class="field">
<label for="name-signup">Name</label>
<p class="control has-icons-left has-icons-right">
<input class="input" type="text" name="name" placeholder="Name" id="name-signup">
<span class="icon is-small is-left">
<i class="fa-solid fa-user"></i>
</span>
</p>
</div>
<div class="field">
<label for="email-signup">Email</label>
<p class="control has-icons-left has-icons-right">
<input class="input" type="email" name="email" placeholder="Email" id="email-signup">
<span class="icon is-small is-left">
<i class="fa-solid fa-envelope"></i>
</span>
</p>
</div>
<div class="field">
<label for="password-signup">Password</label>
<p class="control has-icons-left has-icons-right">
<input class="input" type="password" name="password" placeholder="Password" id="password-signup">
<span class="icon is-small is-left">
<i class="fa-solid fa-key"></i>
</span>
</p>
</div>
<div class="field">
<p class="control">
<button class="btn btn primary" type="submit">
Sign up
</button>
</p>
</div>
</div>
</div>
</form>
</div>
</section>
<section class="hero" style="background-color: rgb(10, 163, 125); border-top: rgb(12, 14, 15) 5px solid; border-left: rgb(12, 14, 15) 5px solid; border-right: rgb(12, 14, 15) 5px solid ">
<div class="hero-body">
<div class="container">
<h1 class="title has-text-centered animated lightSpeedIn">
Take Me Away....<i class="fa-solid fa-earth-africa"></i>
</h1>
</section>
<script src="/js/login.js"></script>

Changing color of radio-button

In the default CSS code for radio buttonn, it is gray when it is not selected and is blue when it is selected:
I however need it to be black in both states. Thus, I have overriden SCSS for radio buttons. Here comes my code:
HTML:
<div class="col-md-2 col-sm-6">
<div class="row">
<div class="col-md-12">
<label>Earlier experience in this field?</label>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="radio">
<label><input type="radio" formControlName="earlierExperience" value="1">Yes</label>
</div>
</div>
<div class="col-md-6">
<div class="radio">
<label><input type="radio" formControlName="earlierExperience" value="0">No</label>
</div>
</div>
</div>
</div>
CSS:
input[type='radio']:after {
width: 15px;
height: 15px;
border-radius: 50%;
top: -2px;
left: -1px;
position: relative;
background-color:white;
display: inline-block;
visibility: visible;
border: 1px solid black;
}
input[type='radio']:checked:after {
border: 4.5px solid black;
}
The problem with this code is that the small circle in the middle of the checked button is not shown anymore:
Can you help me with this?
You can use the new property accent-color which sets the colour for the input. Broswer support is limited to Chrome and Firefox at the moment so you will create fallbacks for other browsers.
input {accent-color: black;}
input {
accent-color: black;
}
<div class="col-md-2 col-sm-6">
<div class="row">
<div class="col-md-12">
<label>Earlier experience in this field?</label>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="radio">
<label><input type="radio" formControlName="earlierExperience" value="1">Yes</label>
</div>
</div>
<div class="col-md-6">
<div class="radio">
<label><input type="radio" formControlName="earlierExperience" value="0">No</label>
</div>
</div>
</div>
</div>
For solution, you can use property filter in css.
input[type='radio'] {
filter: grayscale(100%) contrast(200%);
}
input[type='radio'] {
filter: grayscale(100%) contrast(200%);
}
<div class="col-md-2 col-sm-6">
<div class="row">
<div class="col-md-12">
<label>Earlier experience in this field?</label>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="radio">
<label>
<input
type="radio"
formControlName="earlierExperience"
value="1"
/>Yes
</label>
</div>
</div>
<div class="col-md-6">
<div class="radio">
<label>
<input
type="radio"
formControlName="earlierExperience"
value="0"
/>No
</label>
</div>
</div>
</div>
</div>
Custom solution with box-shadow, pseudo-element and input binding to label
.radio {
margin-left: 0.125em;
}
.radio label {
position: relative;
padding-left: 1.5em;
cursor: pointer;
}
.radio label::after {
content: '';
width: 1em;
height: 1em;
position: absolute;
top: 0;
left: 0.25em;
border-radius: 50%;
box-shadow: inset 0 0 0 2px black;
}
input[type='radio'] {
position: absolute;
visibility: hidden;
}
input[type='radio']:checked~label::after {
box-shadow: inset 0 0 0 2px black, inset 0 0 0 4px white, inset 0 0 0 10px rgb(0, 0, 0);
}
<div class="col-md-2 col-sm-6">
<div class="row">
<div class="col-md-12">
<label>Earlier experience in this field?</label>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="radio">
<input id="yes" type="radio" name="radio" formControlName="earlierExperience" value="1" />
<label for="yes"> Yes </label>
</div>
</div>
<div class="col-md-6">
<div class="radio">
<input id="no" type="radio" name="radio" formControlName="earlierExperience" value="0" />
<label for="no"> No </label>
</div>
</div>
</div>
</div>

input-group border doubling up in the middle

I am using bootstrap 4 input-group as shown below. I have changed the border-width to 10px. It seems like the border width in the middle is doubling up:
Is it possible to make the middle border as wide as the side borders?
.input-text {
border-width: 10px !important;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="centered-query">
<div class="row justify-content-center">
<div class="col-lg-9 col-12">
<div class="input-group">
<input type="text" class="form-control input-text">
<input type="text" class="form-control input-text">
<div class="input-group-append">
<button type="submit" class="btn">Go</button>
</div>
</div>
</div>
</div>
</div>
Override the left/right border for the first and second input
.input-text {
border-width: 10px !important;
}
.input-text.first {
border-right-width: 5px !important;
}
.input-text.second {
border-left-width: 5px !important;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="centered-query">
<div class="row justify-content-center">
<div class="col-lg-9 col-12">
<div class="input-group">
<input type="text" class="form-control input-text first">
<input type="text" class="form-control input-text second">
<div class="input-group-append">
<button type="submit" class="btn">Go</button>
</div>
</div>
</div>
</div>
</div>

layout with twitter-bootstrap form

I have difficulties to arrange the css bootstrap form .
On top of the picture below is the layout I get and just under is the layout I would like to obtain:
http://s27.postimg.org/dfztgn35v/flow_Root3665.png
This is: the first column witn names aligned on their last letter, and aligned input fields on the left and on the right.
Here is the css I used:
<div class="well">
<form class="form-horizontal" method="post">
<fieldset>
<legend>Event</legend>
<div class="form-group">
<label for="input-append date" class="col-lg-1 control-label">Date</label>
<div class="col-lg-3">
<div class="input-group input-append date" id="startDatePicker">
<input type="text" class="form-control" name="datepicker" id="datepicker1" readonly style="background-color: white" /><span class="input-group-addon add-on"><span class="glyphicon glyphicon-calendar"></span></span>
</div>
</div>
<div class="form-group">
<label for="input-append type" class="col-lg-1 control-label">Type</label>
<div class="col-lg-2">
<select class="form-control" id="select">
<option>select1</option>
<option>select2</option>
</select>
</div>
</div>
<div class="form-group">
<label for="inputTitle" class="col-lg-1 control-label">Title</label>
<div class="col-lg-6">
<input kl_virtual_keyboard_secure_input="on" class="form-control" id="inputTitle" placeholder="Title" type="text" maxlength="30">
</div>
</div>
<div class="form-group">
<label for="textArea" class="col-lg-1 control-label">Description</label>
<div class="col-lg-6">
<textarea class="form-control" rows="3" id="textArea" placeholder="Description" maxlength="200"></textarea>
</div>
</div>
</div>
</fieldset>
</form>
</div>
Thanks!
With some minor CSS you can acheive that. See example.
#soForm input,
#soForm select {
height: 50px;
font-size: 16px;
-webkit-border-radius: 0;
border-radius: 0;
border: 4px solid #444;
}
#soForm textarea {
font-size: 16px;
-webkit-border-radius: 0;
border-radius: 0;
border: 4px solid #444;
}
#soForm .input-group-addon {
height: 50px;
font-size: 13px;
-webkit-border-radius: 0;
border-radius: 0;
border-right: 4px solid #444;
border-top: 4px solid #444;
border-bottom: 4px solid #444;
}
.btn.btn-submit {
border-radius: 0;
height: 50px;
width: 100px;
border: 4px solid #444;
}
#media (min-width: 768px) {
#soForm .soForm {
margin: 10px auto;
}
#soForm .control-label {
margin-top: 25px;
}
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" />
<div class="well">
<div class="container">
<form id="soForm" name="soForm">
<div class="form-group">
<label for="date" class="col-sm-2 control-label">Date</label>
<div class="col-sm-5">
<div class="input-group soForm">
<input type="text" class="form-control" id="date" /> <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span>
</div>
</div>
</div>
<div class="form-group">
<label for="type" class="col-sm-2 control-label">Type</label>
<div class="col-sm-3">
<select class="form-control soForm" id="type">
<option>select1</option>
<option>select2</option>
</select>
</div>
</div>
<div class="form-group">
<label for="title" class="col-sm-2 control-label">Title</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="title" />
</div>
</div>
<div class="form-group">
<label for="description" class="col-sm-2 control-label">Description</label>
<div class="col-sm-10">
<textarea class="form-control soForm" rows="5" id="desc"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default btn-submit">Submit</button>
</div>
</div>
</form>
</div>
</div>

Bootstrap 3 Form not aligning correctly

I am trying to build a form group but they are not aligned correctly with Bootstrap 3.
I am trying to aligned them vertically. This is giving me a nightmare so need some of your help
Please see below for screen shot
Below is the code for the form
<div class="container">
<h1>Edit Profile</h1>
<hr>
<div class="row">
<!-- left column -->
<div class="col-md-3">
<div class="text-center">
<img src="//placehold.it/100" class="avatar img-circle" alt="avatar">
<h6>Upload a different photo...</h6>
<input type="file" class="form-control">
</div>
</div>
<!-- edit form column -->
<div class="col-md-9 personal-info">
<!-- <div class="alert alert-info alert-dismissable">
<a class="panel-close close" data-dismiss="alert">×</a>
<i class="fa fa-coffee"></i>
This is an <strong>.alert</strong>. Use this to show important messages to the user.
</div> -->
<h3>Personal info</h3>
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="col-lg-3 control-label">First name:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="Jane">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Last name:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="Bishop">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Company:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Email:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="janesemail#gmail.com">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Time Zone:</label>
<div class="col-lg-8">
<div class="ui-select">
<select id="user_time_zone" class="form-control">
<option value="Hawaii">(GMT-10:00) Hawaii</option>
<option value="Alaska">(GMT-09:00) Alaska</option>
<option value="Pacific Time (US & Canada)">(GMT-08:00) Pacific Time (US & Canada)</option>
<option value="Arizona">(GMT-07:00) Arizona</option>
<option value="Mountain Time (US & Canada)">(GMT-07:00) Mountain Time (US & Canada)</option>
<option value="Central Time (US & Canada)" selected="selected">(GMT-06:00) Central Time (US & Canada)</option>
<option value="Eastern Time (US & Canada)">(GMT-05:00) Eastern Time (US & Canada)</option>
<option value="Indiana (East)">(GMT-05:00) Indiana (East)</option>
</select>
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Username:</label>
<div class="col-md-8">
<input class="form-control" type="text" value="janeuser">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Password:</label>
<div class="col-md-8">
<input class="form-control" type="password" value="11111122333">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Confirm password:</label>
<div class="col-md-8">
<input class="form-control" type="password" value="11111122333">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label"></label>
<div class="col-md-8">
<input type="button" class="btn btn-primary" value="Save Changes">
<span></span>
<input type="reset" class="btn btn-default" value="Cancel">
</div>
</div>
</form>
</div>
</div>
</div>
<hr>
my css sheet
/* CSS declarations go here */
.stylish-input-group .input-group-addon{
background: white !important;
}
.stylish-input-group .form-control{
border-right:0;
box-shadow:0 0 0;
border-color:#ccc;
}
.stylish-input-group button{
border:0;
background:transparent;
}
.navbar .navbar-nav {
display: inline-block;
float: none;
}
.navbar .navbar-collapse {
text-align: center;
}
* {
margin-bottom: 0px;
margin-top:0px;
margin-right: 0px;
margin-left: 0px;
}
.bg{
background: url(fundog.jpg);
background-size: cover;
color: white;
height: 500px;
margin-bottom: 0px;
margin-top:0px;
}
.navbar{
margin-bottom: 0px;
margin-top:0px;
}
.help{
text-align: right;
margin-bottom: 0px;
height: 300px;
}
.spread{margin-bottom: 0px;}
body {
/* set this equal to navbar's height */
}
.usp{
text-align: center;
}
.row {
display: table;
}
[class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
.profile{
margin-bottom: 100px;
margin-top:30px;
margin-right: 100px;
margin-left: 100px;
}
Your own css is causing problems:
[class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
Specifically, your combination of float:none and display: table-cell. Remove them and let bootstrap lay them out how it normally does.
Also not sure about setting everything's margin to zero. Like it or not, Bootstrap utilises negative margins to correctly layout some of its classes.
Here's the updated version that has your header, and all of the columns inline vertically.
http://www.bootply.com/b38G8GZgjw
Here's the code in case bootply is not available:
<div class="container">
<h1>Edit Profile</h1>
<hr>
<div class="row">
<!-- left column -->
<div class="col-md-3">
<div class="text-center">
<img src="//placehold.it/100" class="avatar img-circle" alt="avatar">
<h6>Upload a different photo...</h6>
<input type="file" class="form-control">
</div>
</div>
<!-- edit form column -->
<div class="col-md-9 personal-info">
<!-- <div class="alert alert-info alert-dismissable">
<a class="panel-close close" data-dismiss="alert">×</a>
<i class="fa fa-coffee"></i>
This is an <strong>.alert</strong>. Use this to show important messages to the user.
</div> -->
<div class="row">
<h3 class="col-lg-3 text-right">Personal info</h3>
</div>
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="col-lg-3 control-label">First name:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="Jane">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Last name:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="Bishop">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Company:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Email:</label>
<div class="col-lg-8">
<input class="form-control" type="text" value="janesemail#gmail.com">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">Time Zone:</label>
<div class="col-lg-8">
<div class="ui-select">
<select id="user_time_zone" class="form-control">
<option value="Hawaii">(GMT-10:00) Hawaii</option>
<option value="Alaska">(GMT-09:00) Alaska</option>
<option value="Pacific Time (US & Canada)">(GMT-08:00) Pacific Time (US & Canada)</option>
<option value="Arizona">(GMT-07:00) Arizona</option>
<option value="Mountain Time (US & Canada)">(GMT-07:00) Mountain Time (US & Canada)</option>
<option value="Central Time (US & Canada)" selected="selected">(GMT-06:00) Central Time (US & Canada)</option>
<option value="Eastern Time (US & Canada)">(GMT-05:00) Eastern Time (US & Canada)</option>
<option value="Indiana (East)">(GMT-05:00) Indiana (East)</option>
</select>
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Username:</label>
<div class="col-md-8">
<input class="form-control" type="text" value="janeuser">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Password:</label>
<div class="col-md-8">
<input class="form-control" type="password" value="11111122333">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Confirm password:</label>
<div class="col-md-8">
<input class="form-control" type="password" value="11111122333">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label"></label>
<div class="col-md-8">
<input type="button" class="btn btn-primary" value="Save Changes">
<span></span>
<input type="reset" class="btn btn-default" value="Cancel">
</div>
</div>
</form>
</div>
</div>
</div>

Resources