관리-도구
편집 파일: index.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12"> <form action="{{ route('jobposts.upload') }}" method="POST" enctype="multipart/form-data"> {{ csrf_field() }} <div class="row"> <div class="col-lg-8"> <div class="card"> <div class="card-header"> <span class="panel-title">{{ _lang('CSV Upload') }}</span> </div> <div class="card-body"> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label class="control-label"> {{ _lang('Upload File') }} ({{ _lang('Excel file Only in CSV format') }}) </label> <input type="file" class="form-control dropify" name="csv_file" id="csv_file" accept=".csv" required> </div> </div> <div class="col-md-12"> <div class="form-group"> <button type="submit" class="btn btn-primary">{{ _lang('Upload CSV') }}</button> </div> </div> </div> </div> </div> </div> </div> <!--End Row--> </form> </div> </div> @endsection @section('js-script') <script src="{{ asset('public/backend/assets/js/product.js') }}"></script> @endsection