<form data-parsley-validate class="form-horizontal form-label-left">

<div class="form-group">
  <label class="control-label col-md-3 col-sm-3 col-xs-12" for="useru">รหัสแผนก
  </label>
  <div class="col-md-6 col-sm-6 col-xs-12">
    <input type="number" id="codedepart" required="required" class="form-control col-md-7 col-xs-12">
  </div>
</div>
<div class="form-group">
  <label class="control-label col-md-3 col-sm-3 col-xs-12" for="passu">ชื่อแผนก
  </label>
  <div class="col-md-6 col-sm-6 col-xs-12">
    <input type="text" id="namedepart" name="last-name" required="required" class="form-control col-md-7 col-xs-12">
  </div>
</div>
</form>