@extends('panel.authentication.layout.app')
@section('title', __('Register'))
@section('form')
@if ($setting->register_active == 1)
{{ __('Sign up') }}
@if ($setting->github_active || $setting->twitter_active || $setting->google_active || $setting->facebook_active)
@if ($setting->google_active)
{{ __('Login with Google') }}
@endif
@if ($setting->github_active)
{{ __('Login with Github') }}
@endif
@if ($setting->twitter_active)
{{ __('Login with Twitter') }}
@endif
@if ($setting->facebook_active)
{{ __('Login with Facebook') }}
@endif
{{ __('or') }}
@endif
@php
// Optional fields controlled by settings
$optionalFields = [
[
'id' => 'name',
'label' => __('Name'),
'placeholder' => __('Your Name'),
'type' => 'text',
],
[
'id' => 'surname',
'label' => __('Last Name'),
'placeholder' => __('Your Last Name'),
'type' => 'text',
],
[
'id' => 'phone',
'label' => __('Phone'),
'placeholder' => __('Your Phone Number'),
'type' => 'tel',
],
[
'id' => 'country',
'label' => __('Country'),
'placeholder' => __('Your Country'),
'type' => 'text',
],
];
@endphp
@else