13 lines
870 B
PHP
13 lines
870 B
PHP
<div data-num="{{$tmpl ? '' : $o}}" class="alert alert-warning @if(!$tmpl)imageGroup @else d-none imageTemplate @endif" role="alert">
|
|
<button type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
<div class="form-group">
|
|
<label>Visuel * de type JPEG/PNG/SVG - 2Mo max. - {{ isset($input['dimensions']) ? __('Dimensions :dimensions', ['dimensions' => $input['dimensions']]) : __('Dimensions Maximales :max', ['max' => $input['dimensionsMax']]) }} px</label>
|
|
<input type="file" name="content[{{$i}}][content][{{$k}}][value][{{$tmpl ? 'X' : $o}}]" accept="image/png,image/jpeg,.svg" @if(!$tmpl)data-old-value="{{ $image }}" @endif>
|
|
<br>
|
|
@if(!$tmpl)
|
|
<img class="img-responsive" src="{{ $image }}" alt="image" style="max-height: 200px;">
|
|
@endif
|
|
</div>
|
|
</div>
|