Lager-v3/resources/views/Partials/Form/Input/name.blade.php

20 lines
556 B
PHP
Raw Normal View History

2022-09-28 07:38:08 +00:00
<div class="mb-3 row">
<label for="name_input" class="col-2 col-form-label fw-bold">@lang('name') : </label>
<div class="col-10">
<input
type="text"
class="form-control"
name="name"
id="name_input"
placeholder="@lang('name')"
@if(old('name') !== null)
value="{{old('name')}}"
@else
@if(isset($data->name))
value="{{$data->name}}"
@endif
@endif
>
</div>
</div>