<div class="row">
    <div class="col-12 rounded">
        <div class="row g-2 mb-2">
            <div class="col-6">
                <input type="hidden" name="id" value="{{$post->id}}">
                <label class="form-label" for="name">{{trans('sarf.name')}}</label>
                <input id="name" name="name" type="text" class="form-control form-control-sm" placeholder="{{trans('sarf.name')}}" autocomplete="on" value="{{$post->name}}">
            </div>

             <div class="col-6">
                <label class="form-label" for="date">{{trans('sarf.date')}}<span class="text-danger">*</span></label>
                <input id="date" name="date" type="date" class="form-control form-control-sm" placeholder="{{trans('sarf.date')}}" autocomplete="off" value="{{$post->duration}}">
            </div>

            <div class="col-12">
                <label class="form-label" for="amount">{{trans('sarf.amount')}}</label>
                <input id="amount" name="amount" type="number" class="form-control form-control-sm" placeholder="{{trans('sarf.amount')}}" autocomplete="off" value="{{$post->amount}}">
            </div>
        </div>
    </div>
</div>