<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<ul class="nav nav-tabs">
<li class="active"><a href="#home" data-toggle="tab">Home</a></li>
<li><a href="#profile" data-toggle="tab">Profile</a></li>
<li><a href="#messages" data-toggle="tab">Messages</a></li>
<li><a href="#settings" data-toggle="tab">Settings</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="dept">
<form id="deptForm" class="form-horizontal">
<div class="form-group">
<label class="col-lg-3 control-label">Choose Department</label>
<div class="col-lg-5">
<select class="form-control" id="deptChoose" name="deptChoose">
<option value="">Choose Department</option>
<option value="'__new__'">Create New Department</option>
<option value="dept1">Dept 1</option>
<option value="dept2">Dept 2</option>
<option value="dept3">Dept 3</option>
</select>
</div>
</div>
<div id="deptFields">
<div class="form-group">
<label class="col-lg-3 control-label">Department Name</label>
<div class="col-lg-5">
<input type="text" class="form-control" name="deptName" />
</div>
</div>