관리-도구
편집 파일: ba5ab823cb616c2bdfe25f411d5a2dd7c3d661ca.php
<?php $__env->startSection('content'); ?> <?php use App\Http\Controllers\BlogController; ?> <!-- ============================================================== --> <!-- Page wrapper --> <!-- ============================================================== --> <div class="page-wrapper"> <!-- ============================================================== --> <!-- Container fluid --> <!-- ============================================================== --> <div class="container-fluid"> <!-- ============================================================== --> <!-- Bread crumb and right sidebar toggle --> <!-- ============================================================== --> <div class="row page-titles"> <div class="col-md-5 align-self-center"> <h4 class="text-themecolor">Create Product</h4> </div> <div class="col-md-7 align-self-center text-end"> <div class="d-flex justify-content-end align-items-center"> <ol class="breadcrumb justify-content-end"> <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li> <li class="breadcrumb-item active">Create Product</li> </ol> <!--<button type="button" class="btn btn-info d-none d-lg-block m-l-15 text-white"><i class="fa fa-plus-circle"></i> Create New</button>--> </div> </div> </div> <!-- ============================================================== --> <!-- End Bread crumb and right sidebar toggle --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- Start Page Content --> <!-- ============================================================== --> <!-- Row --> <div class="row"> <!-- Column --> <!-- Column --> <!-- Column --> <div class="col-lg-8 col-xlg-9 col-md-7"> <div class="card"> <!-- Nav tabs --> <ul class="nav nav-tabs profile-tab" role="tablist"> </ul> <div class="tab-content"> <div class="tab-pane active" id="home" role="tabpanel"> <div class="card-body"> </div> </div> <div class="" id="settings" role="tabpanel"> <div class="card-body"> <form action="<?php echo e(route('blogCreate')); ?>" method="POST" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group"> <label class="col-md-12">Blog Main Heading</label> <div class="col-md-12"> <input type="text" placeholder="Enter Blog Main Heading" class="form-control form-control-line" name="title" value="" required> </div> </div> <div class="form-group"> <label class="col-md-12">Blog Sub Heading</label> <div class="col-md-12"> <input type="text" placeholder="Enter Blog Sub Heading" class="form-control form-control-line" name="sub_title" value="" required> </div> </div> <div class="form-group"> <label class="col-md-12">Blog Content</label> <div class="col-md-12"> <textarea class="form-control form-control-line" name="content" required arial-hidden="false"></textarea> <!--<input type="text" placeholder="Enter Blog Content" class="form-control form-control-line" name="content" value="" required>--> </div> </div> <div class="form-group"> <label class="col-md-12">Button Text</label> <div class="col-md-12"> <input type="text" placeholder="Enter Button Text" class="form-control form-control-line" name="button_text" value="" required> </div> </div> <div class="form-group"> <label class="col-md-12">Button Link</label> <div class="col-md-12"> <input type="text" placeholder="Enter Button Link" class="form-control form-control-line" name="button_link" value="" required> </div> </div> <div class="form-group"> <label class="col-md-12">Blog Image</label> <div class="col-md-12"> <input type="file" class="form-control form-control-line" name="image[]" required> </div> </div> <!--<div class="form-group">--> <!-- <label class="col-sm-12">Select Country</label>--> <!-- <div class="col-sm-12">--> <!-- <select name="" class="form-control form-control-line">--> <!-- <option>London</option>--> <!-- <option>India</option>--> <!-- <option>Usa</option>--> <!-- <option>Canada</option>--> <!-- <option>Thailand</option>--> <!-- </select>--> <!-- </div>--> <!--</div>--> </div> </div> </div> </div> </div> <div class="col-lg-4 col-xlg-3 col-md-5"> <div class="card"> <div class="card-body"> <div class="form-group"> <?php /*$pages = $settingsContr->getPageName(); $Sections = $settingsContr->getSection();*/ ?> <select name="blog_category_id" class="form-select p-1" aria-label="Default select example" required> <option disabled selected>Select Category</option> <?php $__currentLoopData = BlogController::getBlogCategories(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $blogCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($blogCategory->id); ?>"><?php echo e($blogCategory->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group"> <div class="col-sm-12"> <button type="submit" class="btn btn-success text-white">Create</button> </div> </div> </form> </div> </div> </div> <!-- Column --> </div> <!-- Row --> <!-- ============================================================== --> <!-- End PAge Content --> <!-- ============================================================== --> <!-- ============================================================== --> </div> <!-- ============================================================== --> <!-- End Container fluid --> <!-- ============================================================== --> </div> <?php if(session()->has('productCreationsuccess')): ?> <script src='https://code.jquery.com/jquery-3.6.1.min.js'></script> <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> <script> $(document).ready(function(){ swal("","Product Created Successfully","success"); }); </script> <?php session()->forget('productCreationsuccess'); ?> <?php endif; ?> <!-- ============================================================== --> <!-- End Page wrapper --> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customdevdevopdi/findjobs.customdev.devopdigital.com/resources/views/backend/blogs/createform.blade.php ENDPATH**/ ?>