datatable.directory codebase
https://datatable.directory/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1020 B
28 lines
1020 B
6 years ago
|
@php
|
||
|
$tab = 'add-rows';
|
||
|
/** @var \App\Tables\Column[] $columns */
|
||
|
/** @var \App\Tables\Changeset $changeset */
|
||
|
/** @var \App\Models\Row[]|Illuminate\Pagination\Paginator $rows */
|
||
|
/** @var \App\Models\Table $table */
|
||
|
@endphp
|
||
|
@extends('table.propose.layout')
|
||
|
|
||
|
@section('tab-content')
|
||
|
<div class="form-inline py-2 px-1">
|
||
|
<form action="{{$table->draftUpdateRoute}}" method="POST" class="form-inline">
|
||
|
@csrf
|
||
|
<input type="hidden" name="action" value="rows.add-csv">
|
||
|
<input type="hidden" name="redirect" value="{{request()->fullUrl()}}">
|
||
|
<label class="pr-2" for="csv-data">Add CSV:</label>
|
||
|
<textarea name="data" id="csv-data"
|
||
|
title="{{$errors->has('data') ? $errors->first('data') : ''}}"
|
||
|
class="form-control mr-1 {{ $errors->has('data')?'is-invalid':'' }}"
|
||
|
style="width:30em; height:10em">{{old('data')}}</textarea>
|
||
|
<button class="btn btn-outline-success">Append</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
@stop
|
||
|
|
||
|
@push('scripts')
|
||
|
@endpush
|