change styles to login form

jera

Member
Hello everyone, I am changing styles to login form customer, but I have a question.
I have the following code, this is the customer form
http://pastebin.com/DiAGdKhV

If they realize there is a line like this:
PHP:
<?php echo $form->textField($model, 'email', $model->getHtmlOptions('email')); ?>

What makes this line is printed on an input html with a class "form-control".
I wish I could change this class at the input, but can not find the file that contains it or do not know how else can.

I hope you can help me.

Thank you.
 

twisted1919

Administrator
Staff member
Hey, try this:
PHP:
<?php echo $form->textField($model, 'email', $model->getHtmlOptions('email', array( 'class' => 'yuhuuu' ))); ?>
;)
 

twisted1919

Administrator
Staff member
i doubt that, make sure you have properly copied the example above.
the method getHtmlOptions() takes as it's second param and array with html attributes for the input field.
 
Top