Current File : //home/tradevaly/text.tradevaly.com.bd/resources/views/backend/pages/about/edit.blade.php |
@extends('backend.ayaan.master')
@push('style')
<!-- Bootstrap 5 CDN Link -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Summernote CSS - CDN Link -->
<link href="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote-lite.min.css" rel="stylesheet">
<!-- //Summernote CSS - CDN Link -->
@endpush
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-8 m-auto">
<div class="card">
<div class="card-header card-header-icon card-header-info">
<div class="card-icon">
<i class="material-icons">add_task</i>
</div>
<h4 class="card-title">{{translate('EDIT ABOUT')}}
</h4>
</div>
<div class="card-body">
<form action="{{url('b2b/about/edit/'.$data->id)}}" method="POST">@csrf
<div class="row">
<div class="col-md-12">
<div class="form-group">
<input type="text" name="title" class="form-control" value="{{$data->title}}" required>
</div>
<br/>
</div>
<div class="col-md-12">
<div class="form-group">
<input type="text" name="link" class="form-control" value="{{$data->link}}" required>
</div>
<br/>
</div>
<div class="col-md-12">
<div class="form-group">
<textarea id="summernote" name="details" rows='7' class="form-control">{{$data->details}}</textarea>
</div>
</div>
</div>
</div>
<button type="submit" class="btn btn-info mt-5">{{translate('Update')}}</button>
<div class="clearfix"></div>
</form>
</div>
</div>
</div>
</div>
</div>
@stop
@push('script')
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Summernote JS - CDN Link -->
<script src="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote-lite.min.js"></script>
<script>
$(document).ready(function() {
$("#summernote").summernote();
$('.dropdown-toggle').dropdown();
});
</script>
@endpush