Bootstrap snippet: edit profile form

designed to help people of all skill levels - designer or developer, huge nerd or early beginner.
copy and paste the code. Use it as a complete kit or use it to start something more complex.
tags: profile,form



<div class="container bootstrap snippet"> <h1 class="text-primary"><span class="glyphicon glyphicon-user"></span>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="dey-dey"> </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="bootdey"> </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 &amp; Canada)">(GMT-08:00) Pacific Time (US &amp; Canada)</option> <option value="Arizona">(GMT-07:00) Arizona</option> <option value="Mountain Time (US &amp; Canada)">(GMT-07:00) Mountain Time (US &amp; Canada)</option> <option value="Central Time (US &amp; Canada)" selected="selected">(GMT-06:00) Central Time (US &amp; Canada)</option> <option value="Eastern Time (US &amp; Canada)">(GMT-05:00) Eastern Time (US &amp; Canada)</option> <option value="Indiana (East)">(GMT-05:00) Indiana (East)</option> </select> </div> </div> </div> </form> </div> </div> </div> <hr>
body{margin-top:20px;}
Dey-Dey

edit profile form

Dey-Dey
  May 27th 2014, 18:18
3.7K Views