

<?php $__env->startSection('title'); ?>
Edit Reply
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="card border-0">
        <div class="card-header text-white bg-primary"><a class="text-white" href="<?php echo e(route('forum.index')); ?>"><?php echo e(config('app.name')); ?> Forum</a> / <a class="text-white" href="<?php echo e(route('forum.category', $reply->category->id)); ?>"><?php echo e($reply->category->name); ?></a> / <a class="text-white" href="<?php echo e(route('forum.getthread', $reply->thread->id)); ?>"><?php echo e($reply->thread->title); ?></a> / Edit Reply</div>
        <div class="card-body">
            <?php if(session()->has('error')): ?>
                <div class="alert alert-danger">
                    <?php echo e(session()->get('error')); ?>

                </div>
            <?php endif; ?>
            <form method="POST" action="<?php echo e(route('forum.doeditreply', $reply->id)); ?>" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>

                <div class="form-group">
                    <label for="body">Body (max 2000 chars)</label>
                    <textarea name="body" class="form-control" id="body" rows="6"><?php echo e($reply->body); ?></textarea>
                </div>

                <button type="submit" class="btn btn-success btn-block"><i class="fas fa-save"></i> Save Reply</button>
            </form>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\project\tadah\tadah\resources\views/forum/editreply.blade.php ENDPATH**/ ?>