Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
evsmash/widgets / views / _widgets / forms / contact.haml
Size: Mime:
- $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()