Skip to content

Commit

Permalink
Remove commented input and redundant code in input.blade.php
Browse files Browse the repository at this point in the history
The commit removes the commented input line in the form's input.blade.php file and eliminates an unnecessary line. The modified code reduces redundancy, making the file cleaner and the code more readable.
  • Loading branch information
CrazyBoy49z committed Jun 25, 2024
1 parent 514fca7 commit a88e789
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions resources/views/form/input.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<div class="form-control {{ $outerClass }}">
<div class="mb-3 flex{{ $hr ? ' flex-col items-start' : ' flex-row' }}">
<x-lazy-label :hr="$hr" :label="$label" :hasError="$hasError" :required="$required"/>
{{-- <input {{ $attributes->merge(['class' => 'input w-full'.($hasError ? ' text-error' : ''), 'type' => 'text', 'placeholder' => $placeholder ]) }} />--}}
{{ $slot }}
<x-lazy-input :placeholder="$placeholder" :attributes="$attributes" :hasError="$hasError"/>
@if($rightIcon)
Expand All @@ -39,4 +38,3 @@ class="stroke-info h-6 w-6 flex-shrink-0">
@enderror
@endif
</div>

0 comments on commit a88e789

Please sign in to comment.