{!! Form::label('data[Order][extra][user][email]', __('Email *')) !!}
{!! Form::email(
'data[Order][extra][user][email]',
(
isset($data->Order->extra->user->email) ?
$data->Order->extra->user->email : null
),
[
'class' => 'form-control',
'data-name' => 'email'
]
) !!}
{!! Form::label(
'data[Order][extra][user][phone]',
__('Phone') . ($settings->content->guest_data->phone ? '*' : '')
) !!}
{!! Form::text(
'data[Order][extra][user][phone]',
(
isset($data->Order->extra->user->phone) ?
$data->Order->extra->user->phone : null
),
[
'class' => 'form-control',
'data-name' => 'phone','required',
($settings->content->guest_data->phone ? 'required' : '')
]
) !!}