diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7a2c0e3..6a3f4fe 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,7 @@ - - - - + - - + @@ -390,7 +396,7 @@ - + @@ -512,13 +518,6 @@ - - - - - - - @@ -561,10 +560,17 @@ + + + + + + + - + diff --git a/resources/views/device/add.blade.php b/resources/views/device/add.blade.php index b30c70e..a18d509 100644 --- a/resources/views/device/add.blade.php +++ b/resources/views/device/add.blade.php @@ -31,6 +31,20 @@ +
+ + +
+ + + @if ($errors->has('freq')) + + {{ $errors->first('freq') }} + + @endif +
+
+
diff --git a/routes/web.php b/routes/web.php index fe3b3a4..0c6695e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -195,6 +195,7 @@ Route::post('/device/add', function(\Illuminate\Http\Request $request){ 'e_hat' => $request->get('ehat'), 'lot_id' => $request->get('lotid'), 'stream' => $request->get('camera'), + 'frequency' => $request->get('freq') ]); return redirect(url('/device/get/'.str_replace(' ', '-', $request->get('code'))));