<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <h1 class="m-0 text-dark">Contact Info</h1>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.container-fluid -->
</div>
<?php 
// echo "<pre>";
// print_r($company);
// echo "</pre>";

?> 
<!-- Main content -->
<section class="content">
    <div class="container-fluid">
        <form method="post" id="customer_add" class="card" action="<?php echo base_url('dashboard/') . "updatecompany"; ?>">
            <div class="card-body d-flex flex-column justify-content-center align-items-center">
                <h5>For Staff</h5>
                <div class="row">
                    <div class="col-6">
                        <div class="form-group">
                            <input type="email" required="true" class="form-control" name="staffemail" placeholder="Email" value="<?php echo $company['staffemail']; ?>">
                        </div>
                    </div>
                    <div class="col-6">
                        <div class="form-group">
                            <input type="text" required="true" class="form-control" name="staffphonenumber" placeholder="phonenumber" value="<?php echo $company['staffphonenumber']; ?>">
                        </div>
                    </div>
                </div>

                <h5>For Client</h5>
                <div class="row">
                    <div class="col-6">
                        <div class="form-group">
                            <input type="email" required="true" class="form-control" name="clientemail" placeholder="Email" value="<?php echo $company['clientemail']; ?>">
                        </div>
                    </div>
                    <div class="col-6">
                        <div class="form-group">
                            <input type="text" required="true" class="form-control" name="clientphonenumber" placeholder="phonenumber" value="<?php echo $company['clientphonenumber']; ?>">
                        </div>
                    </div>
                </div>

                <button type="submit" class="btn btn-md selfalign-center rounded-pill bg-custom-blue text-white px-5"> Update</button>
            </div>
        </form>
    </div>
</section>
<!-- /.content -->