Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix to the login link being hard coded on the question view.

  • Loading branch information...
commit d3d0b068b3d9be6864c72a021ba4cb77d770d916 1 parent 6819002
@Datawalke authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 app/views/posts/view.ctp
View
9 app/views/posts/view.ctp
@@ -299,7 +299,14 @@
<?php if(!$session->check('Auth.User.id')) { ?>
<h2>Who Are You?</h2>
- <span class="quiet">Have an account already? <a href="/login">Login before answering!</a></span><br/>
+ <span class="quiet">
+ <?= __('Have an account already?', true) ?>
+ <?= $html->link(
+ __('Login before answering!', true),
+ array('controller' => 'users', 'action' => 'login')
+ );
+ ?>
+ </span><br/>
<?=$form->label('name');?><br/>
<?=$form->text('User.username', array('class' => 'big_input medium_input '));?><br/>
<?=$form->label('email');?><br/>
Please sign in to comment.
Something went wrong with that request. Please try again.