<div class="content-wrapper">
   <div class="content-header">
      <div class="container-fluid">
         <div class="row mb-2">
            <div class="col-sm-6">
               <h1 class="m-0 text-dark">Update Donor Company</h1>
            </div>
            <div class="col-sm-6">
               <ol class="breadcrumb float-sm-right">
                  <li class="breadcrumb-item"><a href="<?php echo base_url() ?>admin/admin/dashboard">Dashboard</a></li>
                  <li class="breadcrumb-item"><a href="#">Donor Company</a></li>
                  <li class="breadcrumb-item active">Add Donor Company </li>
               </ol>
            </div>
         </div>
      </div>
   </div>
   <section class="content">
      <div class="container-fluid">
         <div class="card card-default">
            <div class="card-header">
               <h3 class="card-title">Add New Donor Company</h3>
               <div class="card-tools">
                  <a href="<?php echo base_url()?>/admin/main_page_setting/view_all_brand" class="btn btn-success btn-sm"><i class="fa fa-eye" aria-hidden="true"></i> View All Donor Company</a>
               </div>
            </div>
            <?php echo form_open_multipart('admin/main_page_setting/update_brand/'.$brand->brand_id); ?>
            <div class="card-body">
               <div class="row">
                  <div class="col-md-12">
                     <div class="form-group">
                        <label for="inputEmail" class="col-sm-12 col-form-label">Donor Company Name<span class="required">*</span></label>
                        <div class="col-sm-12">
                           <input type="text" class="form-control"  name="brand_name"  required="required" placeholder="Enter Donor Company Name" value="<?php echo $brand->brand_name ?>">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-12">
                     <div class="form-group">
                        <label for="inputEmail" class="col-sm-12 col-form-label">Donor Company Image <span>(Image Size Must be 163px X 85px)</span></label>
                        <div class="col-sm-12">
                           <input type="file" class="form-control"  name="brand_image">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-12">
                     <div class="form-group">
                        <label for="inputEmail" class="col-sm-12 col-form-label">Preview Donor Company Image</label><br/>
                        <div class="col-sm-12">
                           <img src="<?php echo base_url() ?><?php echo $brand->brand_image ?>" width="100px">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-12">
                     <div class="form-group">
                        <button name="submit" style="float: right" type="submit" class="btn btn-success">Update</button>
                     </div>
                  </div>
                  <?php echo form_close() ?>
               </div>
            </div>
         </div>
      </div>
   </section>
</div>