From 9c7e42bf0d7ab3099b3444023088fb4ed7028545 Mon Sep 17 00:00:00 2001 From: Gravitano Date: Tue, 23 Jun 2015 16:18:13 +0700 Subject: [PATCH] use isOnPages helper --- src/views/articles/form.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/articles/form.blade.php b/src/views/articles/form.blade.php index 4c3adc6..352f28f 100644 --- a/src/views/articles/form.blade.php +++ b/src/views/articles/form.blade.php @@ -21,7 +21,7 @@ {!! Form::text('slug', null, ['class' => 'form-control']) !!} {!! $errors->first('slug', '
:message
') !!} - @if(Request::is('admin/articles/create')) + @if(! isOnPages())
{!! Form::label('category_id', 'Category:') !!} {!! Form::select('category_id', $categories, null, ['class' => 'form-control']) !!}