<div class="row mb-3">
  <div class="col-lg-3 col-md-4">
    <?php
    if ($field_title !='') {
      ?>
      <label class="d-block mb-0" for="<?php echo $field_id ?>"><?php echo $field_title ?></label>
      <?php
    }
    if ($field_subtitle !='') {
      ?>
      <small><?php echo $field_subtitle ?></small>
      <?php
    }
     ?>
  </div>
  <div class="col-md-8">
    <div class="form-group">
      <input type="password" id="<?php echo $field_id ?>"  class="form-control" name="<?php echo $field_id ?>" value="<?php echo $form_value ?>" <?php   if ($field_required == true) { echo 'required' ;   } ?>>
      <?php
        if ($field_desc !='') {
          ?>
          <small><?php echo $field_desc ?></small>
          <?php
        }
      ?>
    </div>
  </div>
</div>
<?php
 ?>
