some initial work on New Table page
This commit is contained in:
@@ -13,6 +13,18 @@ class TableController extends Controller
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('table.create');
|
||||
$exampleColSpec =
|
||||
"string, latin, Latin Name\n".
|
||||
"string, common, Common Name\n".
|
||||
"int, lifespan, Lifespan";
|
||||
|
||||
$exampleData =
|
||||
"Mercenaria mercenaria, hard clam, 40\n" .
|
||||
"Magallana gigas, pacific oyster, 30\n" .
|
||||
"Patella vulgata, common limpet, 20";
|
||||
|
||||
return view('table.create',
|
||||
compact('exampleColSpec', 'exampleData')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user