@extends('voyager::master') @if($db->action == 'update') @section('page_title', __('voyager::database.editing_table', ['table' => $db->table->name])) @else @section('page_title', __('voyager::database.create_new_table')) @endif @section('page_header')
@if($db->action == 'update') {{ __('voyager::database.editing_table', ['table' => $db->table->name]) }} @else {{ __('voyager::database.create_new_table') }} @endif
@stop @section('breadcrumbs')
{{ __('voyager::generic.dashboard') }}
{{ __('voyager::generic.database') }}
@if($db->action == 'update')
{{ __('voyager::generic.edit') }}
{{ $db->table->name }}
@else
{{ __('voyager::generic.add') }}
@endif
@endsection @section('content')
@if($db->action == 'update'){{ method_field('PUT') }}@endif
@stop @section('javascript') @include('voyager::tools.database.vue-components.database-table-editor') @stop