@php $validation_icon = [ 'required' => 'fa-exclamation-triangle', 'alpha_dash' => 'fa-barcode', 'geo_lat' => 'fa-map-marker', 'geo_long' => 'fa-map-marker', 'exists' => 'fa-link', 'string' => 'fa-barcode', ] @endphp
{!! __('form.message.check-definitions') !!}
{{ csrf_field() }}
{{ __( "Data Definitions" ) }}
@foreach( $defs as $field => $rules )
@switch(true) @case(true)
@foreach( explode('|', $rules) as $rule )   @switch($key) @case('unique') {{ "The field must to be unique in table reference" }} @break @default {{ is_string( $trans = trans("validation.$key", [ 'attribute' => $field ]) ) ? $trans : $rule }} @break @endswitch @endforeach
@break; @endswitch
@endforeach
 
Select file Change Remove