Размер файла: 1.85Kb
@extends('layout')
@section('title')
{{ __('blogs.title_edit_comment') }}
@stop
@section('breadcrumb')
<nav>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/"><i class="fas fa-home"></i></a></li>
<li class="breadcrumb-item"><a href="/blogs">{{ __('index.blogs') }}</a></li>
@if ($blog->category->parent->id)
<li class="breadcrumb-item"><a href="/blogs/{{ $blog->category->parent->id }}">{{ $blog->category->parent->name }}</a></li>
@endif
<li class="breadcrumb-item"><a href="/blogs/{{ $blog->category->id }}">{{ $blog->category->name }}</a></li>
<li class="breadcrumb-item"><a href="/articles/{{ $blog->id }}">{{ $blog->title }}</a></li>
<li class="breadcrumb-item"><a href="/articles/comments/{{ $blog->id }}">{{ __('main.comments') }}</a></li>
<li class="breadcrumb-item active">{{ __('blogs.title_edit_comment') }}</li>
</ol>
</nav>
@stop
@section('content')
<i class="fa fa-pencil-alt"></i> <b>{{ $comment->user->login }}</b> <small>({{ dateFixed($comment->created_at) }})</small><br><br>
<div class="form">
<form action="/articles/edit/{{ $comment->relate_id }}/{{ $comment->id }}?page={{ $page }}" method="post">
@csrf
<div class="form-group{{ hasError('msg') }}">
<label for="msg">{{ __('main.message') }}:</label>
<textarea class="form-control markItUp" maxlength="{{ setting('comment_length') }}" id="msg" rows="5" name="msg" required>{{ getInput('msg', $comment->text) }}</textarea>
<div class="invalid-feedback">{{ textError('msg') }}</div>
<span class="js-textarea-counter"></span>
</div>
<button class="btn btn-primary">{{ __('main.edit') }}</button>
</form>
</div><br>
@stop