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

17 lines
659 B
PHP

<form method="POST" action="/devices/{{ $device->device_id }}/owners">
@csrf
<label for="rz_username">rz_username:</label>
<input type="text" id="rz_username" name="rz_username" value="{{old('rz_username')}}" required>
@error('rz_username')
<p>{{ $message }}</p>
@enderror
<br />
<label for="timestamp_owner_since">timestamp_owner_since:</label>
<input type="text" id="timestamp_owner_since" name="timestamp_owner_since"
value="{{old('timestamp_owner_since')}}" required>
@error('timestamp_owner_since')
<p>{{ $message }}</p>
@enderror
<br />
<input type="submit" value="Submit">
</form>