@if(!in_array($name,$model->getFieldsHiddens()))
    @if(in_array($name,$model->getDates()))
        @include('inc.cruds.input_date')
    @elseif(in_array($name,array_keys($model->getSelectsKeyValues())))
        @include('inc.cruds.select_key_value_from_array',['array'=>$model->getSelectsKeyValues()[$name]])
    @elseif(in_array($name,array_keys($model->getFormCustomHtml())))
        @include('inc.cruds.custom_html')
    @elseif(in_array($name,$model->getSeparators()))
        @include('inc.cruds.separator')
    @elseif(in_array($name,$model->getColors()))
        @include('inc.cruds.input_color')
    @elseif(in_array($name,$model->getDatetimes()))
        @include('inc.cruds.input_date_time')
    @elseif(in_array($name,array_keys($model->getSelectsMultiple())))
        @include('inc.cruds.select_multiple_from_array',['array'=>$model->getSelectsMultiple()[$name]])
    @elseif(in_array($name,$model->getDatesRange()))
        @include('inc.cruds.input_date_range')
    @elseif(in_array($name,$model->getDatetimesRange()))
        @include('inc.cruds.input_date_time_range')
    @elseif(in_array($name,$model->getImages()))
        @include('inc.cruds.input_image')
    @elseif(in_array($name,$model->getTimes()))
        @include('inc.cruds.input_time')
    @elseif(in_array($name,$model->getLongTexts()))
        @include('inc.cruds.input_texte_area')
    @elseif(in_array($name,$model->getNumbers()))
        @include('inc.cruds.input_number',['min'=>0,'max'=>999999999999])
    @elseif(in_array($name,$model->getEmails()))
        @include('inc.cruds.input_email')
    @elseif(in_array($name,$model->getTelephones()))
        @include('inc.cruds.input_telephone')
    @elseif(in_array($name,array_keys($model->getBelongsTo())))
        @include('inc.cruds.select_from_model',['column_name'=>$model->getBelongsTo()[$name]])
    @elseif(in_array($name,array_keys($model->getSelects())))
        @include('inc.cruds.select_from_array',['array'=>$model->getSelects()[$name]])
    @elseif(in_array($name,$model->getPasswords()))
        @include('inc.cruds.input_password')
    @elseif(in_array($name,$model->getFiles()))
        @include('inc.cruds.input_file')
    @elseif(in_array($name,$model->getRichTexts()))
        @include('inc.cruds.input_rich_text')
    @else
        @include('inc.cruds.input_texte')
    @endif
@endif