<div class="row">
  <div class="col-lg-12 mt-4">
    <div class="card">
      <div class="card-header form-card-header">
        <h4 class="m-b-0 text-light">ADD TRADE DELEGATION</h4>
      </div>
      <div class="card-body">
        <form id="add_trade_delegation" class="form-material">
          <div class="form-body">
            <div class="row">
              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>SELECT YEAR <span>*</span></strong></label>
                  <select name="year" id="year" class="form-control">
                    <option value="">SELECT YEAR</option>
                    <?php foreach($years_master as $val){ ?>
                      <option value="<?php echo $val->year; ?>"><?php echo $val->year; ?></option>
                    <?php } ?>
                  </select>
                  <label for="year" class="error"></label> 
                </div>
              </div>

              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>NAME <span>*</span></strong></label>
                  <input type="text" id="name" name="name" class="form-control">
                  <label for="name" class="error"></label> 
                </div>
              </div>

              <div class="col-md-6">
                <div class="form-group">
                  <label class="control-label"><strong>START DATE <span>*</span></strong></label>
                  <input type="text" id="from_date" name="from_date" class="form-control">
                  <label for="from_date" class="error"></label> 
                </div>
              </div>

              <div class="col-md-6">
                <div class="form-group">
                  <label class="control-label"><strong>END DATE <span>*</span></strong></label>
                  <input type="text" id="to_date" name="to_date" class="form-control">
                  <label for="to_date" class="error"></label> 
                </div>
              </div>

              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>VENUE <span>*</span></strong></label>
                  <input type="text" id="venue" name="venue" class="form-control">
                  <label for="venue" class="error"></label> 
                </div>
              </div>

              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>UPLOAD IMAGE</strong></label>
                  <input type="file" name="image" id="image" class="form-control"/>
                  <label> Note : image size ( 250 x 180 pixels )</label>
                  <label for="image" class="error"></label> 
                </div>
              </div>
            </div>
          </div>

          <div class="form-actions">
            <button type="submit" class="btn btn-rounded btn-outline-success col-md-3">SAVE</button>  
            <button type="button" class="btn btn-rounded btn-outline-danger col-md-3" onclick="window.location.href='<?php echo base_url(); ?>trade-delegation/list'">CANCEL</button>  
          </div>
        </form>
      </div>
    </div>
  </div>
</div>