keep old data

This commit is contained in:
TimmensOne 2023-03-26 13:17:31 +02:00
parent 2524bcc41e
commit f8fe2a1f33

View File

@ -4,49 +4,49 @@
<form method="POST" action="/devices"> <form method="POST" action="/devices">
@csrf @csrf
<label for="device_id">device_id:</label> <label for="device_id">device_id:</label>
<input type="text" id="device_id" name="device_id" required> <input type="text" id="device_id" name="device_id" value="{{old('device_id')}}" required>
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror
<br /> <br />
<label for="title">Title:</label> <label for="title">Title:</label>
<input type="text" id="title" name="title" required> <input type="text" id="title" name="title" value="{{old('title')}}" required>
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror
<br /> <br />
<label for="device_type">device_type:</label> <label for="device_type">device_type:</label>
<input type="text" id="device_type" name="device_type" required> <input type="text" id="device_type" name="device_type" value="{{old('device_type')}}" required>
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror
<br /> <br />
<label for="accessories">accessories:</label> <label for="accessories">accessories:</label>
<input type="text" id="accessories" name="accessories"> <input type="text" id="accessories" name="accessories" value="{{old('accessories')}}">
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror
<br /> <br />
<label for="rz_username_buyer">rz_username_buyer:</label> <label for="rz_username_buyer">rz_username_buyer:</label>
<input type="text" id="rz_username_buyer" name="rz_username_buyer" required> <input type="text" id="rz_username_buyer" name="rz_username_buyer" value="{{old('rz_username_buyer')}}" required>
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror
<br /> <br />
<label for="serial_number">serial_number:</label> <label for="serial_number">serial_number:</label>
<input type="text" id="serial_number" name="serial_number" required> <input type="text" id="serial_number" name="serial_number" value="{{old('serial_number')}}" required>
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror
<br /> <br />
<label for="image_url">image_url:</label> <label for="image_url">image_url:</label>
<input id="image_url" name="image_url" required> <input id="image_url" name="image_url" value="{{old('image_url')}}" required>
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror
<br /> <br />
<label for="description">description:</label> <label for="description">description:</label>
<textarea type="text" id="description" name="description"></textarea> <textarea type="text" id="description" name="description">{{old('rz_username_buyer')}}</textarea>
@error('device_id') @error('device_id')
<p>{{$message}}</p> <p>{{$message}}</p>
@enderror @enderror