adinugro
(Adinugro)
1
Hi All,
I am trying the bootstrap on yii, I am creating the login widget but having difficulty to match the element of the form with css.
CHtml::button -> rendered as <input type=submit, while I need something that will rendered as <button>
Anyont can help?
Cheers,
Daniel
dckurushin
(Diavolonok)
2
echo “<button></button>”; 
CHtml not rendering button tag
http://www.yiiframework.com/wiki/48/by-example-chtml/
but you can extend it and add the button method!
mdomba
(Maurizio Domba Cerin)
3
adinugro
(Adinugro)
4
Hi mdomba,
Thanks a lot for the help. How could I miss that? I believe it is new as of v1.8 framework.
Cheers,
Daniel
mdomba
(Maurizio Domba Cerin)
5
adinugro
(Adinugro)
6
Hehehe
Sorry mdomba, I read 1.0.8 as 1.8 …in need of new glasses…Thanks a lot for your help.