logo, improved listing, some helpers, mail confirms table, confirmed flag, user title column..
This commit is contained in:
@@ -1,24 +1,33 @@
|
||||
{{-- New table form --}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="row">
|
||||
<h2 class="col-md-8 offset-md-3">New Table</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{route('table.storeNew')}}" class="row justify-content-center"
|
||||
aria-label="New Table">
|
||||
|
||||
<h2>New Table</h2>
|
||||
|
||||
@csrf
|
||||
<div class="col-md-8">
|
||||
@php(Widget::setLayout(3, 8))
|
||||
|
||||
{!! Widget::text('title', 'Title')->autoAlias('name', '-')
|
||||
->help('Unique among your tables') !!}
|
||||
|
||||
{!! Widget::text('name', 'Name')->value('molluscs-'.uniqid())
|
||||
{!! Widget::text('name', 'Name')->value('')->prepend(user()->handle.' /')
|
||||
->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.') !!}
|
||||
->help('Description of the table. 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
|
||||
@@ -47,7 +56,7 @@
|
||||
<div class="row form-group">
|
||||
<div class="col-md-8 offset-md-3">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
<i class="fa-save pr-2"></i>Create New Table
|
||||
<i class="fa-save pr-2"></i>Create Table
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user