Skip to content

Commit

Permalink
fix: minor fixes in localized version
Browse files Browse the repository at this point in the history
  • Loading branch information
mitulgolakiya committed Apr 3, 2023
1 parent fa9cc41 commit afb52b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions views/templates/scaffold/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
<div class="col-sm-6">
<h1>
@if($config->options->localized)
{{ $config->modelNames->human }} Details
@@lang('models/{!! $config->modelNames->camelPlural !!}.singular') @@lang('crud.detail')
@else
@@lang('models/{!! $config->modelNames->camelPlural !!}.singular') @@lang('crud.detail')
{{ $config->modelNames->human }} Details
@endif
</h1>
</div>
<div class="col-sm-6">
<a class="btn btn-default float-right"
href="@{{ route('{!! $config->prefixes->getRoutePrefixWith('.') !!}{!! $config->modelNames->camelPlural !!}.index') }}">
@if($config->options->localized)
Back
@else
@@lang('crud.back')
@else
Back
@endif
</a>
</div>
Expand Down

0 comments on commit afb52b2

Please sign in to comment.