Skip to content

Commit afb52b2

Browse files
committed
fix: minor fixes in localized version
1 parent fa9cc41 commit afb52b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

views/templates/scaffold/show.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
<div class="col-sm-6">
88
<h1>
99
@if($config->options->localized)
10-
{{ $config->modelNames->human }} Details
10+
@@lang('models/{!! $config->modelNames->camelPlural !!}.singular') @@lang('crud.detail')
1111
@else
12-
@@lang('models/{!! $config->modelNames->camelPlural !!}.singular') @@lang('crud.detail')
12+
{{ $config->modelNames->human }} Details
1313
@endif
1414
</h1>
1515
</div>
1616
<div class="col-sm-6">
1717
<a class="btn btn-default float-right"
1818
href="@{{ route('{!! $config->prefixes->getRoutePrefixWith('.') !!}{!! $config->modelNames->camelPlural !!}.index') }}">
1919
@if($config->options->localized)
20-
Back
21-
@else
2220
@@lang('crud.back')
21+
@else
22+
Back
2323
@endif
2424
</a>
2525
</div>

0 commit comments

Comments
 (0)