Sindbad~EG File Manager
<?php $__env->startSection('title', 'Edit About'); ?>
<?php $__env->startSection('breadcrumbs', 'About'); ?>
<?php $__env->startSection('second-breadcrumb'); ?>
<li> Edit About</li>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- table -->
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<?php if(session('success')): ?>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<?php echo e(session('success')); ?>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<?php endif; ?>
<h3 class="text-center mt-3 mb-5">Edit About</h3>
<div class="row">
<div class="col-3 mt-4">
<div class="card shadow" >
<img src="<?php echo e(asset('about_image/'.$about->image)); ?>" class="card-img-top" alt="image">
</div>
</div>
<div class="col-9">
<form action="<?php echo e(route('abouts.update', [$about->id])); ?>" method="POST" class="d-inline" enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<?php echo method_field('PUT'); ?>
<p>Caption:</p>
<p>
<textarea name="caption" id="content" rows="10" class="form-control ckeditor" ><?php echo e($about->caption); ?></textarea>
</p>
<div class="row">
<div class="d-inline col-6" >
<input type="file" name="image">
<br>
<small class="font-italic text-danger" style="font-size:11px; ">Leave blank if you don't want to change your avatar</small>
</div>
<div class="col-5 d-inline">
<button type="submit" class="btn btn-success top-0"> Update</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /table -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script src="/templateEditor/ckeditor/ckeditor.js"></script>
<script src="/templateEditor/ckeditor/config.js"></script>
<script>
// CKEDITOR.replace( 'content', {
// filebrowserUploadUrl : "<?php echo e(route('articles.upload', ['_token' => csrf_token()])); ?>",
// filebrowserUploadMethod : 'form',
// height: 100,
// removeButtons : 'Source,Save,NewPage,Print,Templates,Cut,Copy,Paste,PasteText,PasteFromWord,Undo,Redo,SelectAll,Form,Checkbox,Radio,TextField,Textarea,Button,ImageButton,HiddenField,RemoveFormat,CreateDiv,Anchor,Image,Flash,Table,Iframe,InsertPre,HorizontalRule'
// });
CKEDITOR.replace('content', {
filebrowserUploadUrl : "<?php echo e(route('articles.upload', ['_token' => csrf_token()])); ?>",
filebrowserUploadMethod : 'form',
height: 150,
// Define the toolbar groups as it is a more accessible solution.
toolbarGroups: [{
"name": "basicstyles",
"groups": ["basicstyles"]
},
{
"name": "links",
"groups": ["links"]
},
{
"name": "paragraph",
"groups": ["list", "blocks"]
},
{
"name": "document",
"groups": ["mode"]
},
{
"name": "insert",
"groups": ["insert"]
},
{
"name": "styles",
"groups": ["styles"]
},
{
"name": "about",
"groups": ["about"]
}
],
// Remove the redundant buttons from toolbar groups defined above.
removeButtons: 'Strike,Subscript,Superscript,Anchor,Specialchar,Image,Print,Save,NewPage,Source,Table,Iframe,PageBreak,CreateDiv'
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\DEVELOP\LARAVEL SOURCE\compro\resources\views/abouts/edit.blade.php ENDPATH**/ ?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists