Files
Motula-Translate-Backend/resources/views/words/partials/upload-file.blade.php

22 lines
680 B
PHP

<section>
<header>
<h2 class="text-lg font-medium text-gray-900 dark:text-gray-100">
{{ __('Upload CSV File ') }}
</h2>
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">
{{ __("Upload file to add group of word in db") }}
</p>
</header>
<form action="{{ route('store') }}" method="post" class="mt-6 space-y-6" enctype="multipart/form-data">
@csrf
<x-text-input type="file" id="filename" name="filename"/>
<div class="flex items-center gap-4">
<br><br><br><br>
<x-primary-button>{{ __('Submit') }}</x-primary-button>
</div>
</form>
</section>