@extends('layouts.auth') @section('page-title',__lang('register')) @section('page-class') class="col-12 col-sm-10 offset-sm-1 col-md-8 offset-md-2 col-lg-8 offset-lg-2 col-xl-8 offset-xl-2" @endsection @section('content')

{{ __lang('complete-registration') }}

@csrf
@foreach($fields as $field) @php $value= old('field_'.$field->id); @endphp @if($field->type=='text')
required))required @endif type="text" class="form-control" id="{{ 'field_'.$field->id }}" name="{{ 'field_'.$field->id }}" value="{{ $value }}"> @if ($errors->has('field_'.$field->id)) {{ $errors->first('field_'.$field->id) }} @endif
@elseif($field->type=='select')
{{ Form::select('field_'.$field->id, $selectOptions,$value,['placeholder' => $field->placeholder,'class'=>'form-control']) }} @if ($errors->has('field_'.$field->id)) {{ $errors->first('field_'.$field->id) }} @endif
@elseif($field->type=='textarea')
@if ($errors->has('field_'.$field->id)) {{ $errors->first('field_'.$field->id) }} @endif
@elseif($field->type=='checkbox')
@elseif($field->type=='radio')
{{ $field->name }}
@foreach($radioOptions as $value2)
@endforeach @elseif($field->type=='file')
required))required @endif type="file" class="form-control" id="{{ 'field_'.$field->id }}" name="{{ 'field_'.$field->id }}" > @if ($errors->has('field_'.$field->id)) {{ $errors->first('field_'.$field->id) }} @endif
@endif @endforeach
@if(setting('social_enable_facebook')==1 || setting('social_enable_google')==1)
{{ __lang('Or') }}
@if(setting('social_enable_facebook')==1) @endif @if(setting('social_enable_google')==1) @endif
@endif
{{ __lang('already-have-account') }}
@endsection @section('header') @endsection @section('footer') @endsection