abschlussprojekt-device-man.../device-app/resources/views/locations/edit.blade.php

18 lines
705 B
PHP
Raw Normal View History

2023-03-31 12:14:57 +02:00
<form method="POST" action="/devices/locations/{{ $location->location_transaction_id }}">
@method('PUT')
@csrf
<label for="room_code">room_code:</label>
<input type="text" id="room_code" name="room_code" value="{{$location->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="{{$location->timestamp_located_since}}" required>
@error('timestamp_located_since')
<p>{{ $message }}</p>
@enderror
<br />
<input type="submit" value="Submit">
</form>