<div class="modal fade" id="projectCarbonDataModal" tabindex="-1" aria-hidden="true">
  <div class="modal-dialog modal-md">
    <div class="modal-content">
      <div class="modal-header border-0 alert-info p-2">
        <h5 class="modal-title fw-bold fs-6" id="staticBackdropLabel">Update Carbon Data</h5>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
        <form method="POST" action="<?= base_url('administrator/redd/projects/carbon-data/add') ?>" enctype="multipart/form-data">
        <?= csrf_field(); ?>
          <input type="hidden" name="project_id" value="">
          <input type="hidden" name="id" value="">
          <div class="row">
            <div class="col-md-6 mb-3">
                <label for="er" class="form-label fw-bold mb-0 small">Estimated ER</label>
                <input type="number" step="0.01" name="estimated_er" id="er" class="form-control">
            </div>
            <div class="col-md-6 mb-3">
                <label for="bcre" class="form-label fw-bold mb-0 small">Buffer Credits</label>
                <input type="number" step="0.01" name="buffer_credit" id="bcre" class="form-control">
            </div>
            <div class="col-md-6 mb-3">
                <label for="cep" class="form-label fw-bold mb-0 small">Start Credit Period  </label>
                <input type="date" name="credit_period_start" id="cep" class="form-control">
            </div>
            <div class="col-md-6 mb-3">
                <label for="cre" class="form-label fw-bold mb-0 small">End Credit Period  </label>
                <input type="date" name="credit_period_end" id="cre" class="form-control">
            </div>
            <div class="col-md-6 mb-3">
                <label for="reff" class="form-label fw-bold mb-0 small">Start Reff Period  </label>
                <input type="date" name="reff_period_start" id="reff" class="form-control" >
            </div>
            <div class="col-md-6 mb-3">
                <label for="bcre" class="form-label fw-bold mb-0 small">End Reff Period </label>
                <input type="date" name="reff_period_end" id="bcre" class="form-control" >
            </div>
            <div class="col-md-6 mb-3">
                <label for="reg" class="form-label fw-bold mb-0 small">Registry  </label>
                <input type="text" name="registry" id="reg" class="form-control">
            </div>
            <div class="col-md-6 mb-3">
                <label for="reg" class="form-label fw-bold mb-0 small">Uncertainty </label>
                <input type="text" name="uncertainty" id="reg" class="form-control">
            </div>
            <div class="col-md-12 mb-3">
                <label for="des" class="form-label fw-bold mb-0">More Notes</label>
                <textarea name="description" id="des" class="form-control"></textarea>
            </div>

          </div><!-- row !-->

          
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
            <button type="submit" class="btn btn-danger">Save Carbon Data</button>
        </div>
       </form>
    </div>
  </div>
</div>