abschlussprojekt-device-man.../device-app/resources/views/locations/create.blade.php
2023-03-31 12:14:57 +02:00

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>