Skip to content

Commit

Permalink
moved heavier evals to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
tanthammar committed Feb 16, 2022
1 parent f83fabb commit e93c50f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/includes/below.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
{{ $field->below }}
</x-tall-attr>
@endif
@if(!in_array($field->type, ['spatie-tags']))
@if($field->type !== 'spatie-tags')
@if($field->help)
<p class="tf-help">
{{ $field->help }}
</p>
@endif
@endif
@if(!in_array($field->type, ['file', 'spatie-tags']) && $field->defaultErrorPosition)
@if($field->defaultErrorPosition && !in_array($field->type, ['file', 'spatie-tags']))
@error($field->key)
<p class="tf-error">
{{ $field->errorMsg ?? $message }}
Expand Down

0 comments on commit e93c50f

Please sign in to comment.