Guest Posted April 17, 2013 Share Posted April 17, 2013 Hey guys, Trying to make the forgot your password link into a button, and this is what I changed the code to in in authentication.tpl; <p class="lost_password"><a href="{$link->getPageLink('password')}"><button class="btn" type="submit">{l s='Forgot your password?'}</button></a></p> Any idea why this isn't working? I also tried; <button class="btn" type="submit" value="{l s='Forgot your password?'}">Forgot Your Password</button> I got login working with my button tags using this; <button class="btn" type="submit" name="SubmitLogin" value="{l s='Log in'}">Log In</button> Link to comment Share on other sites More sharing options...
razaro Posted April 17, 2013 Share Posted April 17, 2013 Why not just <p class="lost_password"><a class="button" href="[color=#343943]{$link->getPageLink('password')}[/color]">[color=#343943]{l s='Forgot your password?'}[/color]</a></p> and here class button is from default theme and if you have other class like btn use that. Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2013 Share Posted April 17, 2013 Ah, thanks razaro. Very much appreciated. Not sure why I didn't think to just apply the class to the link. Appreciate it man! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now