@extends('layouts.app') @section('content')

New Table

@csrf
{!! Widget::text('title', 'Title')->autoAlias('name', '-') ->help('Unique among your tables') !!} {!! Widget::text('name', 'Name')->value('molluscs-'.uniqid()) ->help('Unique among your tables, and part of the URL; only letters, digits and some symbols are allowed.') !!} {!! Widget::textarea('description', 'Description')->height('8em') ->help('Description what data is in the table. Please use the dedicated fields for License and data source. URLs in a full format will be clickable.') !!} {!! Widget::text('license', 'License') ->help('License applicable to the table\'s data, if any. By default, all tables are CC0 or Public Domain.') !!} {!! Widget::text('origin', 'Adapted from') ->help('If you took the data from some external site, a book, etc., write it here. URLs in a full format will be clickable.') !!} {!! Widget::textarea('columns', 'Columns')->value($exampleColumns)->height('8em') ->help('
Column parameters in CSV format:
  • column identifier
    letters, numbers, underscore
  • column data type
    int, string, float, bool
  • column title
    used for display (optional)
') !!} {!! Widget::textarea('data', 'Initial data')->value($exampleData)->height('12em') ->help(' Initial table data in CSV format, columns corresponding to the specification you entered above.') !!}
@endsection