ldc-legaulois/resources/views/bo/engagements/image-input.blade.php
Jérémy Munsch 3d2dfde1e8 Engagement: - création des pages
- Fix retours Marine et modification ordre des engagements
2021-07-13 11:30:20 +02:00

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">&times;</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>