<div class="input-group row">
<label for="code" class="col-sm-2 col-form-label">Код: </label>
<div class="col-sm-6">
@error('code')
<div class="alert alert-danger">{{$message}}</div>
@enderror
<input type="text" class="form-control" name="code" id="code"
value="{{old('code', isset($category) ? $category->code : null)}}">
</div>
</div>
<a href="https://github.com/warlight/internet-shop-course-youtube/commit/5c6c74961f2fc9d3b4c6db8cd93edd77f1d3fe9a"></a>