<?php $__env->startSection('styles'); ?>

<?php $__env->stopSection(); ?>



<?php $__env->startSection('content'); ?>

<!-- ============================================================== -->

<!-- Start right Content here -->

<!-- ============================================================== -->


<div class="content-page">

    <!-- Start content -->

    <div class="content">

        <div class="container-fluid">

          <div class="row">

              <div class="col-sm-12">

                  <div class="page-title-box">

                      <div class="row align-items-center">

                          <div class="col-md-8">

                              <h4 class="page-title mb-0">Mains</h4>

                              <ol class="breadcrumb m-0">

                                  <li class="breadcrumb-item"><a href="#">Dashboard</a></li>

                                  <li class="breadcrumb-item active" aria-current="page">Mains</li>

                              </ol>

                          </div>



                      </div>



                  </div>

              </div>

          </div>

          <!-- end row -->

            <div class="row">

                <div class="col-lg-12">

                    <div class="card">

                        <div class="card-body">

                            <h4 class="mt-0 header-title">Main Header</h4>

                            <div class="table-responsive mt-4">

                               <div class="row" style="padding: 30px;">
<form method="post" action="<?php echo e(route('admin.editmains')); ?>" enctype="multipart/form-data" style="width:100%">
  <?php echo e(csrf_field()); ?>

                                 <div class="col-md-12">
                                   <label>Heading 1</label>
                                   <input type="text" name="h1" value="<?php echo e($main->h1); ?>" required class="form-control"></input>
                                 </div>


                                 <div class="col-md-12">
                                   <label>Heading 2</label>
                                   <input type="text" name="h2" value="<?php echo e($main->h2); ?>" required class="form-control"></input>
                                 </div>


                                 <div class="col-md-12">
                                   <label>Heading 3</label>
                                   <input type="text" name="h3" value="<?php echo e($main->h3); ?>" required class="form-control"></input>
                                 </div>


                                 <div class="col-md-12">
                                   <label>Main Background</label>
                                   <input type="file" name="pic" required class="form-control"></input>
                                 </div>


                                 <div class="col-md-12" style="margin-top:50px;">

                                   <input type="submit" name="Save"  class="btn btn-success"></input>
                                 </div>

</form>
                               </div>



                            </div>


                        </div>

                    </div>

                </div>

            </div>

            <!-- end row -->


        </div> <!-- container-fluid -->



    </div> <!-- content -->



    <footer class="footer">

        © 2020 - 2021  Mommy Kloset

    </footer>

</div>





<!-- ============================================================== -->

<!-- End Right content here -->

<!-- ============================================================== -->

<?php $__env->stopSection(); ?>



<?php $__env->startSection('scripts'); ?>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\freelance\mommy\resources\views/admin/mains.blade.php ENDPATH**/ ?>