<?php echo $__env->make('layouts.fields.input', [
    'name'      => 'name',
    'label'     => 'Име предмета',
    'value'     => $subject->name,
    'autofocus' => true,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php echo $__env->make('layouts.fields.input', [
    'name'  => 'semester',
    'type'  => 'number',
    'label' => 'Семестар',
    'value' => $subject->semester,

], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php echo $__env->make('layouts.fields.dropdown', [
    'name'       => 'teacher_id',
    'label'      => 'Професор',
    'options'    => $teachers,
    'selected'   => $subject->teacher_id,
    'placeholder' => 'Професор',
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php echo $__env->make('layouts.fields.dropdown', [
    'name'     => 'assistant_id',
    'label'    => 'Асистент',
    'options'  => [null => 'Нема асистента'] + $teachers,
    'selected' => $subject->assistant_id,
    'placeholder' => 'Асистент',
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php echo $__env->make('layouts.fields.input', [
    'name'     => 'department',
    'label'    => 'Смер',
    'value'    => $subject->department->name,
    'disabled' => true,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /home/akademij/public_html/anketa-vranje/resources/views/admin/subjects/partials/fields.blade.php ENDPATH**/ ?>