keep module files under their own folder
This commit is contained in:
@ -1,33 +1,16 @@
|
||||
@extends('layouts.admin')
|
||||
|
||||
@section('title', trans('import.title', ['type' => trans_choice($namespace . 'general.' . str_replace('-', '_', $type), 2)]))
|
||||
@section('title', trans('import.title', ['type' => $title_type]))
|
||||
|
||||
@section('content')
|
||||
<div class="card">
|
||||
@php
|
||||
$form_open = [
|
||||
'id' => 'import',
|
||||
'@submit.prevent' => 'onSubmit',
|
||||
'@keydown' => 'form.errors.clear($event.target.name)',
|
||||
'files' => true,
|
||||
'role' => 'form',
|
||||
'class' => 'form-loading-button',
|
||||
'novalidate' => true
|
||||
];
|
||||
|
||||
if (!empty($route)) {
|
||||
$form_open['route'] = $route;
|
||||
} else {
|
||||
$form_open['url'] = $path . '/import';
|
||||
}
|
||||
@endphp
|
||||
{!! Form::open($form_open) !!}
|
||||
{!! Form::open($form_params) !!}
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="alert alert-info alert-important">
|
||||
{!! trans('import.message', ['link' => url('public/files/import/' . $type . '.xlsx')]) !!}
|
||||
{!! trans('import.message', ['link' => $sample_file]) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -54,6 +37,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user