mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-17 13:54:26 +03:00
21 lines
506 B
Smarty
21 lines
506 B
Smarty
{**
|
|
* Каптча
|
|
*
|
|
* @scripts <framework>/js/livestreet/captcha.js
|
|
*}
|
|
|
|
{extends './field.text.tpl'}
|
|
|
|
{block 'field_input' prepend}
|
|
<span data-type="captcha" data-captcha-name="{$smarty.local.sCaptchaName}" class="form-auth-captcha"></span>
|
|
|
|
{$_aRules = [
|
|
'required' => true,
|
|
'remote' => {router page='ajax/captcha/validate'},
|
|
'remote-method' => 'POST',
|
|
'remote-param-name' => $smarty.local.sCaptchaName
|
|
]}
|
|
|
|
{$_sInputClasses = "$_sInputClasses width-100"}
|
|
{/block}
|