Skip to content

Commit

Permalink
use isOnPages helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravitano committed Jun 23, 2015
1 parent 87f9c54 commit 9c7e42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/articles/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{!! Form::text('slug', null, ['class' => 'form-control']) !!}
{!! $errors->first('slug', '<div class="text-danger">:message</div>') !!}
</div>
@if(Request::is('admin/articles/create'))
@if(! isOnPages())
<div class="form-group">
{!! Form::label('category_id', 'Category:') !!}
{!! Form::select('category_id', $categories, null, ['class' => 'form-control']) !!}
Expand Down

0 comments on commit 9c7e42b

Please sign in to comment.