{{ csrf_field() }}
<div class="row">
<div class="col-md-12 px-10">
<div class="form-group">
<label for="translation[az]">Azerbaijani</label>
<input id="translation[az]" name="translation[az]" type="text" class="form-control {{ $errors->has('translation.az') ? ' is-invalid' : '' }}" value="{{ old('translation.az') }}">
@if ($errors->has('translation.az'))
<span class="invalid-feedback" role="alert">
<strong>This field is required and your input maximum size is 255 characters.</strong>
</span>
@endif
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 px-10">
<div class="form-group">
<label for="translation[ru]">Russian</label>
<input id="translation[ru]" name="translation[ru]" type="text" class="form-control {{ $errors->has('translation.ru') ? ' is-invalid' : '' }}" value="{{ old('translation.ru') }}">
@if ($errors->has('translation.ru'))
<span class="invalid-feedback" role="alert">
<strong>This field is required and your input maximum size is 255 characters.</strong>
</span>
@endif
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 px-10">
<div class="form-group">
<label for="translation[en]">English</label>
<input id="translation[en]" name="translation[en]" type="text" class="form-control {{ $errors->has('translation.en') ? ' is-invalid' : '' }}" value="{{ old('translation.en') }}">
@if ($errors->has('translation.en'))
<span class="invalid-feedback" role="alert">
<strong>This field is required and your input maximum size is 255 characters.</strong>
</span>
@endif
</div>
</div>
</div>
<hr class="divide">
<div class="col-md-12">
<div class="row">
<div class="col-md-6 px-10">
<div class="form-group">
<label for="value">Change image</label>
<input style="background: #f96332" id="inputFile" name="image" type="file" class="form-control {{ $errors->has('image') ? ' is-invalid' : '' }}" value="{{ old('image') }}">
@if ($errors->has('image'))
<span class="text-danger" role="alert">
<strong> Image is required and should have correct format. Allowed are: jpg, jpeg, png.</strong>
</span>
@endif
</div>
</div>
а шо по enctype?
Обсуждают сегодня