<div class="form-group">
    <label for="<?php echo e($name); ?>"><?php echo e($label); ?></label>
    <input type="<?php echo e($type ?? 'text'); ?>"
           name="<?php echo e($name); ?>"
           class="form-control"
           id="<?php echo e($name); ?>"
           value="<?php echo e(old($name, $value ?? '')); ?>"
           <?php if($disabled ?? false): ?> disabled <?php endif; ?>
           <?php if($autofocus ?? false): ?> autofocus <?php endif; ?>
    >
    <?php if($errors->has($name)): ?> <label class="error-message" for="<?php echo e($name); ?>"><?php echo e($errors->first($name)); ?></label> <?php endif; ?>
</div>
<?php /**PATH /Users/misakovic1/Projekti/anketa/resources/views/layouts/fields/input.blade.php ENDPATH**/ ?>