Skip to content

Commit

Permalink
Merge pull request #7 from netcom/patch-1
Browse files Browse the repository at this point in the history
Fix invalid closing html tag in stub
  • Loading branch information
awais-vteams authored Dec 13, 2021
2 parents 8470b7e + bbbcdc0 commit 0a247ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stubs/views/form-field.stub
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="form-group">
{{ Form::label('{{column}}') }}
{{ Form::text('{{column}}', ${{modelNameLowerCase}}->{{column}}, ['class' => 'form-control' . ($errors->has('{{column}}') ? ' is-invalid' : ''), 'placeholder' => '{{title}}']) }}
{!! $errors->first('{{column}}', '<div class="invalid-feedback">:message</p>') !!}
{!! $errors->first('{{column}}', '<div class="invalid-feedback">:message</div>') !!}
</div>

0 comments on commit 0a247ae

Please sign in to comment.