Skip to content

Commit

Permalink
Edit uses getTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordi Puigdellívol committed Mar 25, 2022
1 parent 74caeda commit c17698c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/views/edit.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if ($fullPage)
<h2> {{ trans_choice(config('thrust.translationsPrefix'). Illuminate\Support\Str::singular($resourceName), 1) }} </h2>
<h2>{{ $resource->getTitle() }}</h2>
@else
<div class="configForm">
<h2> {{ $object->{$nameField} ?? __('thrust::messages.new') }}</h2>
Expand Down Expand Up @@ -73,4 +73,4 @@ function showTab(header, element){

@if(!$fullPage)
@stack('edit-scripts')
@endif
@endif

0 comments on commit c17698c

Please sign in to comment.