Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use in view #4

Open
yiqiang opened this issue Mar 26, 2015 · 2 comments
Open

Cannot use in view #4

yiqiang opened this issue Mar 26, 2015 · 2 comments

Comments

@yiqiang
Copy link

yiqiang commented Mar 26, 2015

basically i installed and change the controller, however it is not appearing in my view

my view
use yii\captcha\Captcha;
field($model, 'captcha')->widget(Captcha::className(),['imageOptions'=>['style'=>'width:100px;height:50px;']]) ?>

it still shows old captcha

@mdmunir
Copy link
Contributor

mdmunir commented Mar 26, 2015

You need to change your SiteController. Read this https://github.com/mdmsoft/yii2-captcha#usage

@skyq
Copy link

skyq commented Jan 24, 2017

Write normal manual !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants