<div class="main-panel">
    <div class="content-wrapper">
        <div class="row">
            <div class="card col-sm-12">
                <div class="card-body">
                    <form class="forms-sample" method="POST" enctype="multipart/form-data">

                        <div class="form-group row">
                            <label for="title" class="col-sm-3 col-form-label">Title</label>
                            <div class="col-sm-9">
                                <input required value="<?= $details['title'] ?>" type="text" name="title" class="form-control" id="title" placeholder="Add Title">
                            </div>
                        </div>

                        <div class="form-group row">
                            <label for="paragrapgh" class="col-sm-3 col-form-label">Paragraph</label>
                            <div class="col-sm-9">
                                <input value="<?= $details['paragraph'] ?>" required type="text" name="paragraph" class="form-control" id="paragrapgh" placeholder="Add Paragraph">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label for="gender" class="col-sm-3 col-form-label">Image</label>
                            <div class="col-sm-7">
                                <input type="file" name="banner" class="form-control" id="">
                            </div>
                            <div class="col-sm-2">
                                <!-- <input required type="file" name="cat_image" class="form-control" id=""> -->
                                <img style="height:100px width:100px" src="<?= $details['banner'] ?>" class="form-control" alt="">
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-11">
                                <button type="submit" class="btn btn-primary mr-2">Submit</button>
                                <button type="reset" class="btn btn-light">Cancel</button>
                            </div>
                            <div class="col-md-1">
                                <a href="<?= site_url() ?>/admin/banner/list_ban" class="btn btn-primary mr-2">Back</a>
                                <!-- <button type="reset" class="btn btn-light">Cancel</button> -->
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>