diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/views/file/header.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/application/views/file/header.php b/application/views/file/header.php index 215584cc5..896b9c894 100644 --- a/application/views/file/header.php +++ b/application/views/file/header.php @@ -18,11 +18,16 @@ <?php if(isset($username) && $username) { ?> <?=anchor("user/logout", "Logout"); ?> <?php } else { ?> - <?=form_open("user/login"); ?> - <input type="text" name="username" /> - <input type="password" name="password" /> - <input type="submit" value="Login" name="process" /> - </form> + <a> + Login + <div id="login-form"> + <?=form_open("user/login"); ?> + <input type="text" name="username" /> + <input type="password" name="password" /> + <input type="submit" value="Login" name="process" /> + </form> + </div> + </a> <?php } ?> </div> </div> |