(Symfony) How can i change the templating of a form in sfDoctrineGuardPlugin ?
Posted
by ruic
on Stack Overflow
See other posts from Stack Overflow
or by ruic
Published on 2010-06-06T01:59:59Z
Indexed on
2010/06/06
2:02 UTC
Read the original article
Hit count: 245
How can i change the templating of a form in sfDoctrineGuardPlugin?
That is, I need to change the html (class, id) of the input elements (username, password) of a login form provided by sfDoctrineGuardPlugin.
I've changed apps/app_name/modules/sfGuardAuth/templates/singinSuccess.php, but it then just echoes $form (I need to change contents of that part - $form):
<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
<table>
<?php echo $form ?>
</table>
<input type="submit" class="go_button" value="ir" />
<a href="<?php echo url_for('@sf_guard_password') ?>"><?php echo __('Forgot your password?') ?></a>
</form>
(It really should be something like changing a _form.php => I cant find this, though :S)
Thank you all for any answers provided =)
© Stack Overflow or respective owner