{!! Form::label('title', __('labels.blog.form.title')) !!} * {!! Form::text('title', old('name', $data['blog']->title ?? ''), ['id' => 'title', 'required', 'class' => 'form-control']) !!} @if ($errors->has('title'))
{{ $errors->first('title') }}
@endif
{!! Form::label('author', __('labels.blog.form.author')) !!} * {!! Form::text('author', old('name', $data['blog']->author ?? ''), ['id' => 'author', 'required', 'class' => 'form-control']) !!} @if ($errors->has('author'))
{{ $errors->first('author') }}
@endif
{!! Form::label('content', __('labels.blog.form.content')) !!} * {!! Form::textarea('content', old('content', $data['blog']->content ?? ''), ['class' => 'form-control editor-text', 'rows' => 5, 'required', 'id' => 'editor-text']) !!} @if ($errors->has('content'))
{{ $errors->first('content') }}
@endif
{{Form::label('banner_image', __('labels.blog.form.image'))}}* @if ($errors->has('banner_image'))
{{ $errors->first('banner_image') }}
@endif
{{Form::label('link_products', __('labels.blog.form.link_products'))}}
{!! Form::label('meta_title', __('labels.blog.form.meta_title')) !!} {!! Form::text('meta_title', old('name', $data['blog']->meta_title ?? ''), ['id' => 'meta_title', 'class' => 'form-control']) !!} @if ($errors->has('meta_title'))
{{ $errors->first('meta_title') }}
@endif
{!! Form::label('meta_description', __('labels.blog.form.meta_description')) !!} {!! Form::textarea('meta_description', old('meta_description', $data['blog']->meta_description ?? ''), ['class' => 'form-control editor-text', 'rows' => 5, 'id' => 'editor-text']) !!} @if ($errors->has('meta_description'))
{{ $errors->first('meta_descri') }}
@endif
{!! Form::label('is_published', __('labels.blog.form.is_published')) !!} {!! Form::checkbox('is_published', 1, old('is_published', $data['blog']->is_published ?? 1), ['id' => 'is_published']) !!} @if ($errors->has('is_published'))
{{ $errors->first('is_published') }}
@endif