File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
resources/views/fields/inc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class="btn btn-primary"
66 style =" border-radius : 0px "
77 data-toggle =" modal"
88 data-target =" #{{ $field [' on_the_fly' ][' entity' ] ?? ' ajax_entity' } } _create_modal"
9- data-load-url =" {{ $field [' on_the_fly' ][' create_view ' ] ?? backpack_url ($field [' on_the_fly' ][' entity' ]). ' /ajax/create?field_name=' . $field [' name' ]. ' &attribute=' . ($field [' on_the_fly' ][' attribute' ] ?? ' name' ) } }" >
9+ data-load-url =" {{ $field [' on_the_fly' ][' create_modal ' ] ?? backpack_url ($field [' on_the_fly' ][' entity' ]). ' /ajax/create?field_name=' . $field [' name' ]. ' &attribute=' . ($field [' on_the_fly' ][' attribute' ] ?? ' name' ) } }" >
1010 <i class =" fa fa-plus" ></i >
1111 </button >
1212</span >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class="btn btn-warning"
77 data-toggle =" modal"
88 data-id =" {{ $field [' value' ] ?? ' ' } }"
99 data-target =" #{{ $field [' on_the_fly' ][' entity' ] ?? ' ajax_entity' } } _edit_modal"
10- data-load-url =" {{ $field [' on_the_fly' ][' edit_view ' ] ?? backpack_url ($field [' on_the_fly' ][' entity' ]). ' /ajax/edit?field_name=' . $field [' name' ]. ' &attribute=' . ($field [' on_the_fly' ][' attribute' ] ?? ' name' ) } }" >
10+ data-load-url =" {{ $field [' on_the_fly' ][' edit_modal ' ] ?? backpack_url ($field [' on_the_fly' ][' entity' ]). ' /ajax/edit?field_name=' . $field [' name' ]. ' &attribute=' . ($field [' on_the_fly' ][' attribute' ] ?? ' name' ) } }" >
1111 <i class =" fa fa-pencil" ></i >
1212 </button >
1313</span >
You can’t perform that action at this time.
0 commit comments