Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/admin/new-in-v7.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'class' => 'col-md-12 mt-3',
],
'controller' => \App\Http\Controllers\Admin\PetShop\SkillCrudController::class,
'operation' => 'update',
'formOperation' => 'update',
'entry' => \App\Models\PetShop\Skill::find(1),
'content' => [
'header' => 'Edit Skill', // optional
Expand Down
8 changes: 4 additions & 4 deletions resources/views/admin/partials/dataform-examples.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class="icon icon-1">
<div class="card-body">

<x-backpack::dataform
id="quickAddTag"
formId="quickAddTag"
:controller="\Backpack\NewsCRUD\app\Http\Controllers\Admin\TagCrudController::class"
formOperation="create"
:setup="function($crud, $entry) {
Expand All @@ -71,7 +71,7 @@ class="icon icon-1">
<div class="card-body">

<x-backpack::dataform
id="quickEditTag"
formId="quickEditTag"
:controller="\Backpack\NewsCRUD\app\Http\Controllers\Admin\TagCrudController::class"
formOperation="update"
:entry="\Backpack\NewsCRUD\app\Models\Tag::find(1)"
Expand Down Expand Up @@ -103,7 +103,7 @@ class="btn btn-primary"
>
<i class="la la-plus"></i> <span>Create Invoice</span>
</button>
<x-bp-dataform-modal id="create_invoice" :controller='\App\Http\Controllers\Admin\PetShop\InvoiceCrudController::class' />
<x-bp-dataform-modal formId="create_invoice" :controller='\App\Http\Controllers\Admin\PetShop\InvoiceCrudController::class' />

</div>
</div>
Expand All @@ -127,7 +127,7 @@ class="btn btn-primary"
<i class="la la-plus"></i> <span>Edit Invoice</span>
</button>
<x-backpack::dataform-modal
id="edit_invoice"
formId="edit_invoice"
:controller="\App\Http\Controllers\Admin\PetShop\InvoiceCrudController::class"
formOperation="update"
:entry="\App\Models\PetShop\Invoice::find(1)"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/partials/datagrid-examples.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<path d="M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path>
</svg>
</a>
<div class="dropdown-menu dropdown-menu-end" style="">
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#">See demo code</a> <!-- TODO: link to demo code -->
<a class="dropdown-item" href="#">See docs</a> <!-- TODO: link to final docs -->
</div>
Expand Down