<?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.input', [
    'name'  => 'block_id',
    'type'  => 'number',
    'label' => 'Изборни блок број',
    'value' => $subject->block_id,
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

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

<?php echo $__env->make('layouts.fields.dropdown', [
    'name'       => 'teacher_alt_id',
    'label'      => 'Професор 2',
    'options'    => [null => 'Нема другог професора'] + $teachers,
    'selected'   => $subject->teacher_alt_id,
    'placeholder' => 'Професор 2',
], \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/anketaon/resources/views/admin/subjects/partials/fields.blade.php ENDPATH**/ ?>