Moving permissions to form requests
This commit is contained in:
parent
2efd419791
commit
65c8ef4078
1 changed files with 5 additions and 4 deletions
|
|
@ -19,6 +19,11 @@
|
|||
</style>
|
||||
|
||||
|
||||
@if ($errors->first('time_log'))
|
||||
<div class="alert alert-danger"><li>{{ trans('texts.task_errors') }} </li></div>
|
||||
@endif
|
||||
|
||||
|
||||
{!! Former::open($url)->addClass('col-md-10 col-md-offset-1 warn-on-exit task-form')->method($method)->rules(array()) !!}
|
||||
@if ($task)
|
||||
{!! Former::populate($task) !!}
|
||||
|
|
@ -114,10 +119,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@if ($errors->first('time_log'))
|
||||
<div class="alert alert-danger"><li>{{ trans('texts.task_errors') }} </li></div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue