Commit 4de44480 authored by bvipul's avatar bvipul

Solved errors for blog Category

parent 86e27311
......@@ -13,8 +13,8 @@ trait BlogCategoryAttribute
public function getActionButtonsAttribute()
{
return '<div class="btn-group action-btn">
'.$this->getEditButtonAttribute('edit-blog-category', 'admin.blogcategories.edit').'
'.$this->getDeleteButtonAttribute('delete-blog-category', 'admin.blogcategories.destroy').'
'.$this->getEditButtonAttribute('edit-blog-category', 'admin.blogCategories.edit').'
'.$this->getDeleteButtonAttribute('delete-blog-category', 'admin.blogCategories.destroy').'
</div>';
}
......
......@@ -10,7 +10,7 @@
@endsection
@section('content')
{{ Form::open(['route' => 'admin.blogcategories.store', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-permission']) }}
{{ Form::open(['route' => 'admin.blogCategories.store', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-permission']) }}
<div class="box box-info">
<div class="box-header with-border">
......@@ -26,7 +26,7 @@
<div class="form-group">
@include("backend.blogcategories.form")
<div class="edit-form-btn">
{{ link_to_route('admin.blogcategories.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-md']) }}
{{ link_to_route('admin.blogCategories.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-md']) }}
{{ Form::submit(trans('buttons.general.crud.create'), ['class' => 'btn btn-primary btn-md']) }}
<div class="clearfix"></div>
</div>
......
......@@ -10,7 +10,7 @@
@endsection
@section('content')
{{ Form::model($blogcategory, ['route' => ['admin.blogcategories.update', $blogcategory], 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PATCH', 'id' => 'edit-role']) }}
{{ Form::model($blogcategory, ['route' => ['admin.blogCategories.update', $blogcategory], 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PATCH', 'id' => 'edit-role']) }}
<div class="box box-info">
<div class="box-header with-border">
......@@ -26,7 +26,7 @@
<div class="form-group">
@include("backend.blogcategories.form")
<div class="edit-form-btn">
{{ link_to_route('admin.blogcategories.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-md']) }}
{{ link_to_route('admin.blogCategories.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-md']) }}
{{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'btn btn-primary btn-md']) }}
<div class="clearfix"></div>
</div>
......
......@@ -90,8 +90,8 @@
<ul class="treeview-menu {{ active_class(Active::checkUriPattern('admin/blog*'), 'menu-open') }}" style="display: none; {{ active_class(Active::checkUriPattern('admin/blog*'), 'display: block;') }}">
@permission('view-blog-category')
<li class="{{ active_class(Active::checkUriPattern('admin/blogcategories*')) }}">
<a href="{{ route('admin.blogcategories.index') }}">
<li class="{{ active_class(Active::checkUriPattern('admin/blogCategories*')) }}">
<a href="{{ route('admin.blogCategories.index') }}">
<span>{{ trans('menus.backend.blogcategories.management') }}</span>
</a>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment