diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index ab80a45..813f867 100644 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -34,6 +34,9 @@ {{ Form::close() }}
@includeWhen(request('tab') == null || !in_array(request('tab'), $validTabs), 'users.partials.update_photo') + @if (request('tab') == 'death') +
+ @endif
@@ -43,10 +46,26 @@ @section('ext_css') + +@if (request('tab') == 'death') + + + +@endif @endsection @section('script') +@if (request('tab') == 'death') + +@endif + @endsection diff --git a/resources/views/users/partials/edit_death.blade.php b/resources/views/users/partials/edit_death.blade.php index dca9ecc..fff0c56 100644 --- a/resources/views/users/partials/edit_death.blade.php +++ b/resources/views/users/partials/edit_death.blade.php @@ -12,51 +12,3 @@
{!! FormField::text('cemetery_location_longitude', ['label' => __('address.longitude'), 'value' => old('cemetery_location_longitude', $user->getMetadata('cemetery_location_longitude'))]) !!}
-
- -@section('ext_css') - - - -@endsection - -@section('script') - - -@endsection