1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 01:14:24 +03:00
ifhub.club/application/frontend/skin/developer/components/field/field.email.tpl

11 lines
255 B
Smarty
Raw Normal View History

2014-08-11 18:33:28 +03:00
{**
* E-mail
*}
{extends './field.text.tpl'}
{block 'field_options' append}
{$name = $name|default:'mail'}
{$label = $label|default:{lang name='field.email.label'}}
{$_rules = array_merge([ 'required' => true, 'type'=> 'email' ], $_rules)}
2014-08-11 18:33:28 +03:00
{/block}