view: refactor profession import form to an component.
This commit is contained in:
parent
3692fcc485
commit
2c50a372eb
3 changed files with 19 additions and 34 deletions
17
resources/views/components/profession-import-form.blade.php
Normal file
17
resources/views/components/profession-import-form.blade.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<p class="text-center">
|
||||
<strong>{{ __("Important") }}!</strong>
|
||||
{{ __('Download this') }}
|
||||
<x-link href="https://www.curseforge.com/wow/addons/professions-exporter" target="_blank">{{ __('addon') }}</x-link>
|
||||
{{ __('to generate the import string') }}
|
||||
</p>
|
||||
|
||||
<x-form action="{{ $route }}">
|
||||
<div class="mb-2">
|
||||
<x-form.label for="data">{{ __('Import string') }}</x-form.label>
|
||||
<x-textarea class="h-64" name="data" />
|
||||
</div>
|
||||
|
||||
<div class="mt-2">
|
||||
<x-button element="input" type="submit" value="{{ __('Import') }}" />
|
||||
</div>
|
||||
</x-form>
|
||||
Reference in a new issue