Permalink
Browse files

updated calls to view helpers

  • Loading branch information...
1 parent d5335f3 commit 82a4376e15662a221524a6affb44df335e3f114c @josegonzalez committed Jun 25, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 views/posts/index.ctp
View
6 views/posts/index.ctp
@@ -1,7 +1,7 @@
<h2>Search for posts</h2>
-<?php echo $form->create('Post', array('url' => '/posts/view')); ?>
- <?php echo $ajax->autoComplete('Post.title', '/posts/auto_complete')?>
-<?php echo $form->end('View Post')?>
+<?php echo $this->Form->create('Post', array('url' => '/posts/view')); ?>
+ <?php echo $this->Ajax->autoComplete('Post.title', '/posts/auto_complete')?>
+<?php echo $this->Form->end('View Post')?>
<style type="text/css">
div.auto_complete {

0 comments on commit 82a4376

Please sign in to comment.