Example #1
0
             <div class="form-group">
			        <label for="password" class="control-label" title="Passwords are strongly encrypted, but longer is better the minimum is 8 characters">Password</label>
				<span class="help-block">Users will be emailed with their first time password to login and change.</span>
			</div>
<?php 
}
?>
		<div class="form-group">
              <label for="email" class="control-label" title="What is this users email address?">Email Address</label>			  
				<input name="email" id="email" type="email" class="form-control email" maxlength="50" required>				
		</div>
				<div class="form-group">
					<label for="department" class="control-label" title="Which Department does this user belong to?">Department</label> 
                <select name="department" class="form-control">
				<?php 
$availDepartments = Department_model::getAllDepartments();
foreach ($availDepartments as $row) {
    ?>
					<option id="department" value="<?php 
    echo $row->id;
    ?>
"><?php 
    echo $row->name;
    ?>
</option>
			<?php 
}
?>
                </select>
			</div>
			<div class="checkbox"  >