<div class="col-12 col-md-4 mt-5">
  <div class="card">
    <div class="card-header bg-primary text-white">Contract Details</div>
    <div class="card-body">
      <div class="row">
        <div class="col-md-6">
          <div class="mb-3 form-check">
            <?php $checked = (safeValue($cd, 'autoRenew') == "1") ? "checked" : ""; ?>
            <input type="checkbox" class="form-check-input" <?="$checked" ? /> name="autoRenew" id="autoRenew">
            <label class="form-check-label" for="autoRenew">Auto Renew</label>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
