1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Moving permissions to form requests

This commit is contained in:
Hillel Coren 2016-05-01 15:35:51 +03:00
parent 2efd419791
commit 65c8ef4078

View File

@ -19,6 +19,11 @@
</style> </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()) !!} {!! Former::open($url)->addClass('col-md-10 col-md-offset-1 warn-on-exit task-form')->method($method)->rules(array()) !!}
@if ($task) @if ($task)
{!! Former::populate($task) !!} {!! Former::populate($task) !!}
@ -114,10 +119,6 @@
</div> </div>
</div> </div>
@if ($errors->first('time_log'))
<div class="alert alert-danger"><li>{{ trans('texts.task_errors') }} </li></div>
@endif
</div> </div>
</div> </div>