Blame view
resources/views/admin/goods/add_image.blade.php
1.19 KB
0cbcbfbe0 Дополнительные ка... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
@extends('layout.admin', ['title' => 'Создание доп.картинки товара']) @section('content') <div class="profile-block-wrapper"> <div class="profile-block"> <h2 class="modal-auth__title"> Название товара: {{ $good->title }} ID: ({{ $good->id }}) </h2> <form method="post" enctype="multipart/form-data" class="modal-auth-form" action="{{ route('admin.img.add.good', ['good' => $good->id]) }}"> @csrf <label for="image">Файл-картинка:</label> <input type="file" class="form-control-file txt" name="image" id="image" accept="image/png, image/jpeg"> <br><br> <label for="sample">Фото для образца-изделия</label><br> <select name="sample" id="sample" class="form-control"> <option value="1">Да</option> <option value="0">Нет</option> </select> <br><br> <button type="submit" class="parts-content-form-bottom__button">Сохранить</button> </form> </div> </div> @endsection |