@foreach ($parametres as $parametre)
{!! html()->label($parametre->info,$parametre->ref) !!}
@if($parametre->type=='T')
{!! html()->textarea($parametre->ref, $parametre->value) ->attributes([(($mode=='show')?'disabled':''),'class' => 'form-control','rows' => '2']) !!}
@endif @if($parametre->type=='V')
{!! html()->text($parametre->ref, $parametre->value)->attributes([(($mode=="show")?'disabled':''),'placeholder' => 'Valeur', 'class' => 'form-control']) !!}
@endif @if($parametre->type=='N')
{!! html()->text($parametre->ref, $parametre->value)->attributes([(($mode=="show")?'disabled':''),'placeholder' => 'Valeur', 'class' => 'form-control','style'=>'text-align:right']) !!}
@endif @if($parametre->type=='E')
{!! html()->text($parametre->ref, $parametre->value)->attributes([(($mode=="show")?'disabled':''),'placeholder' => 'Valeur', 'class' => 'form-control','style'=>'text-align:right','type'=>'email']) !!}
@endif @if($parametre->type=='C')
@endif @if($parametre->type=='I')
@if($parametre->value!="") @endif @if(!($mode=="show")) {{ html()->file($parametre->ref)->attributes(['id'=>$parametre->ref,'name'=>$parametre->ref, 'class'=>'form-control-file','style'=>'visibility:hidden','accept'=>'.jpg,.png' ]) !!} {{ html()->label('Choisir une image Tampon/Signature',$parametre->ref)->attributes(['id'=>'btn_tampon_'.$parametre->ref,'class'=>'btn btn-md btn-info','onclick'=>"importe_file()"]) !!} {{ html()->label(' ','nom_tampon_'.$parametre->ref)->attributes(['id'=>'nom_tampon_'.$parametre->ref,'class'=>'']) !!} @section('scripts') @endsection @endif
@endif
@endforeach