Skip to content

Commit 1902a5f

Browse files
Updated to Backpack 4.1 (#2)
Co-authored-by: GarrettU <[email protected]>
1 parent 141f81f commit 1902a5f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/resources/views/fields/customGoogleMaps.blade.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<!-- field_type_name -->
2-
<div @include('crud::inc.field_wrapper_attributes')>
2+
@include('crud::fields.inc.wrapper_start')
3+
<div>
34
<label>{!! $field['label'] !!}</label>
45
<input type="text" id="{{ $field['name'] }}" name="{{ $field['name'] }}"
56
value="{{ old($field['name']) ? old($field['name']) : (isset($field['value']) ? $field['value'] : (isset($field['default']) ? $field['default'] : '' )) }}"
6-
@include('crud::inc.field_attributes')>
7+
@include('crud::fields.inc.attributes')>
78
<input type="hidden" name="address_latitude" id="address-latitude" value="0" />
89
<input type="hidden" name="address_longitude" id="address-longitude" value="0" />
910
<div id="address-map-container" style="width:100%;height:400px; ">
@@ -15,7 +16,7 @@
1516
<p class="help-block">{!! $field['hint'] !!}</p>
1617
@endif
1718
</div>
18-
19+
@include('crud::fields.inc.wrapper_end')
1920
@if ($crud->checkIfFieldIsFirstOfItsType($field, $fields))
2021
{{-- FIELD EXTRA CSS --}}
2122
{{-- push things in the after_styles section --}}

0 commit comments

Comments
 (0)