abschlussprojekt-device-man.../device-app/resources/views/devices/create.blade.php

56 lines
2.1 KiB
PHP
Raw Normal View History

2023-03-26 11:32:54 +02:00
@extends('layout')
@section('content')
2023-03-26 12:17:43 +02:00
<form method="POST" action="/devices">
@csrf
<label for="device_id">device_id:</label>
2023-03-26 13:17:31 +02:00
<input type="text" id="device_id" name="device_id" value="{{old('device_id')}}" required>
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<label for="title">Title:</label>
2023-03-26 13:17:31 +02:00
<input type="text" id="title" name="title" value="{{old('title')}}" required>
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<label for="device_type">device_type:</label>
2023-03-26 13:17:31 +02:00
<input type="text" id="device_type" name="device_type" value="{{old('device_type')}}" required>
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<label for="accessories">accessories:</label>
2023-03-26 13:17:31 +02:00
<input type="text" id="accessories" name="accessories" value="{{old('accessories')}}">
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<label for="rz_username_buyer">rz_username_buyer:</label>
2023-03-26 13:17:31 +02:00
<input type="text" id="rz_username_buyer" name="rz_username_buyer" value="{{old('rz_username_buyer')}}" required>
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<label for="serial_number">serial_number:</label>
2023-03-26 13:17:31 +02:00
<input type="text" id="serial_number" name="serial_number" value="{{old('serial_number')}}" required>
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<label for="image_url">image_url:</label>
2023-03-26 13:17:31 +02:00
<input id="image_url" name="image_url" value="{{old('image_url')}}" required>
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<label for="description">description:</label>
2023-03-26 13:17:31 +02:00
<textarea type="text" id="description" name="description">{{old('rz_username_buyer')}}</textarea>
2023-03-26 12:17:43 +02:00
@error('device_id')
<p>{{$message}}</p>
@enderror
<br />
<input type="submit" value="Submit">
</form>
2023-03-26 11:32:54 +02:00
@endsection