54 lines
2.8 KiB
PHP
54 lines
2.8 KiB
PHP
@extends('backend.template')
|
|
@section('content')
|
|
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
|
|
<h4 class="mb-sm-0">{{ label('Edit Slider') }}</h4>
|
|
|
|
<div class="page-title-right">
|
|
<ol class="breadcrumb m-0">
|
|
<li class="breadcrumb-item"><a href="javascript: void(0);">Home</a></li>
|
|
<li class="breadcrumb-item active">{{ label('Edit Slider') }}</li>
|
|
</ol>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end page title -->
|
|
<form action="{{route('sliders.update',[$data->slider_id])}}" id="updateCustomForm" method="POST" >
|
|
@csrf <input type=hidden name='slider_id' value='{{$data->slider_id}}'/>
|
|
<div class="row">
|
|
<div class="col-lg-9 col md-8">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-lg-12">{{createText("slider_title","slider_title","Slider Title",'',$data->slider_title)}}</div>
|
|
<div class="col-lg-12">{{createText("slider_desc","slider_desc","Slider Desc",'',$data->slider_desc)}}</div>
|
|
<div class="col-lg-6">{{createText("url1","url1","Url1",'',$data->url1)}}</div>
|
|
<div class="col-lg-6">{{createText("url2","url2","Url2",'',$data->url2)}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-3 col md-4">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h5 class="card-title mb-0">
|
|
Featured Image
|
|
</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="col-lg-12 pb-2">{{createImageInput("thumb","Thumb",'',$data->thumb)}}</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12"><?php createButton("btn-primary btn-update","","Update"); ?>
|
|
<?php createButton("btn-danger btn-cancel","","Cancel",route('sliders.index')); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
@endsection
|