17 lines
662 B
PHP
17 lines
662 B
PHP
|
<form method="POST" action="/devices/{{ $device->device_id }}/locations">
|
||
|
@csrf
|
||
|
<label for="room_code">room_code:</label>
|
||
|
<input type="text" id="room_code" name="room_code" value="{{old('room_code')}}" required>
|
||
|
@error('room_code')
|
||
|
<p>{{ $message }}</p>
|
||
|
@enderror
|
||
|
<br />
|
||
|
<label for="timestamp_located_since">timestamp_located_since:</label>
|
||
|
<input type="text" id="timestamp_located_since" name="timestamp_located_since"
|
||
|
value="{{old('timestamp_located_since')}}" required>
|
||
|
@error('timestamp_located_since')
|
||
|
<p>{{ $message }}</p>
|
||
|
@enderror
|
||
|
<br />
|
||
|
<input type="submit" value="Submit">
|
||
|
</form>
|