diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index f3046dd4e2..c3c5d9be2a 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -92,13 +92,7 @@ @endif -
- -
- - {!! $errors->first('image', ':message') !!} -
-
+@include ('partials.forms.edit.image-upload') @stop @@ -199,7 +193,7 @@ //First check to see if there is a file before doing anything else var imageData = ""; - var $fileInput = $('#file-upload'); + var $fileInput = $('#uploadFile'); $fileInput.on('change', function (e) { if ($fileInput != '') { if (window.File && window.FileReader && window.FormData) {