assign('error_email', $sf_request->getError('user{email}')); $smarty->assign('error_password', $sf_request->getError('user{password}')); $smarty->assign('input_email', input_tag('user[email]', $sf_params->get('user[email]'), array('id'=>'st_form-user-ajax-email', 'placeholder'=>__('E-mail (login)'), 'maxlength'=>'255', 'class'=>'form-control'))); $smarty->assign('input_password', input_password_tag('user[password]', $sf_params->get('user[password]'), array('id'=>'st_form-user-ajax-password', 'placeholder'=>__('Hasło'), 'maxlength'=>'255', 'class'=>'form-control'))); $smarty->assign('remind_password_link', link_to(__('Przypomnij hasło'), 'stUser/remindPassword')); $smarty->assign('create_account_link', link_to( __('Zarejestruj się'), 'stUser/createAccount')); $smarty->display('user_ajax_login_form.html'); ?>