Moved output helper functions form autoinput.blade.php to a utility class.