<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>