Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{!! FormFacade::model($model, ['route' => $route, 'method' => 'Post']) !!}
@isset($updating)
@method("PUT")
@endif
<div class="form-row mx-n15">
<div class="col-md-6 mb-3 px-15">
<label for="note" class="il-gray fs-14 fw-500 align-center">{{ __("Nota") }}</label>
{!! FormFacade::input(
'text',
'note',
old('note'),
[
'class' => 'form-control ih-medium ip-light radius-xs b-light' . ($errors->has('note') ? ' is-invalid' : null),
'id' => 'note',
'placeholder' => __("Escribe una nota"),
'minlength' => 2,
'required' => true
])
!!}
@error("note")<div class="invalid-feedback">{{ $errors->first("note") }}</div>@enderror
</div>
</div>
@include("partials.form_crud_submit_buttons", ["route" => route('backend.notes.index')])
{{ FormFacade::close() }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment