Repository URL to install this package:
|
Version:
3.3.1 ▾
|
- $recipients = Evsmash\Widgets\Form::recipients($settings->email)
!= Form::start('/forms/contact', Evsmash\Widgets\Schemas\Forms::validateContact(), false, $settings->type)
- if($recipients)
!= Form::select('recipient')->options(Arr::filler(array_keys($recipients)))->required()
!= Form::text('name')->label(t('Firstname & surname'))->placeholder(t('Firstname & surname'))
!= Form::email('email')->label(t('Email'))->placeholder(t('Email'))
!= Form::text('phone')->label(t('Phone'))->placeholder(t('Phone'))
!= Form::textarea('message')->label(t('Message'))->placeholder(t('Message'))->rows(6)
!= Approval::checkboxes('evsmash-widgets-approvals-contact')
!= Recaptcha::button('Send')
!= Form::hidden('widget')->value($settings->element_id)
!= Form::hidden('title')->value(Flash::get('title'))
!= Form::end()