Embedding login form in your homepage with symfony
- add this to your action (taken from sfGuardAuthActions)
$class = sfConfig::get('app_sf_guard_plugin_signin_form', 'sfGuardFormSignin'); $this->form = new $class(); - add this to your template (from the sfGuardAuth template)
<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post"> <table> <?php echo $form ?> </table> <input type="submit" value="<?php echo __('sign in') ?>" /> <a href="<?php echo url_for('@sf_guard_password') ?>"> <?php echo __('Forgot your password?') ?></a> </form> -
create your favicon.ico to address this bug.