File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 @if ($slot -> isNotEmpty () )
1313 {{ $slot } }
1414 @else
15- <a href = " {{ $createAction } } " class =" btn btn -lg btn-primary btn-icon-text btn-raised " >
15+ <x-forms::link-button class =" btn-lg" :url = " $createAction " >
1616 <i class =" fal fa-plus me-2" ></i > {{ __ (' Create New' ) } }
17- </a >
17+ </x-forms::link-button >
1818 @endif
1919 @endif
2020 </div >
Original file line number Diff line number Diff line change 11<div class =" no-items" >
22 <div class =" card-body" >
3- <i class =" {{ $icon ?? ' zmdi zmdi-file ' } } main-icon mb-4" ></i >
3+ <i class =" {{ $icon } } main-icon mb-4" ></i >
44 <p class =" lead mb-4" >
5- {{ __ ( ' It \' s a bit lonely here. ' ) } } <br />
6- {{ __ ( ' Let \' s create some new :model_type. ' , [ ' model_type ' => $modelType ?? __ ( ' items ' ) ]) } }
5+ @if ( $title ) {{ $title } } <br /> @endif
6+ {{ $message } }
77 </p >
8- @can ( ' create ' , $model )
8+ @if ( $showCreate )
99 @if ($slot -> isNotEmpty () )
1010 {{ $slot } }
1111 @else
12- <a href = " {{ $createAction ?? ' # ' } } " class =" btn btn -lg btn-primary btn-- icon-text btn--raised" >
12+ <x-forms::link-button class =" btn-lg btn-- icon-text btn--raised" :url = " $createAction " >
1313 <i class =" zmdi zmdi-plus" ></i > {{ __ (' Create New' ) } }
14- </a >
14+ </x-forms::link-button >
1515 @endif
16- @endcan
16+ @endif
1717 </div >
1818</div >
You can’t perform that action at this time.
0 commit comments