Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added add view http://book.cakephp.org/view/338/data-validation

  • Loading branch information...
commit b8f45294a7741fb085e894f72a9e5dd409c97961 1 parent 30a27eb
@mariuz authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 app/views/posts/add.ctp
View
7 app/views/posts/add.ctp
@@ -0,0 +1,7 @@
+<h1>Add Post</h1>
+<?php
+echo $form->create('Post');
+echo $form->input('title');
+echo $form->input('body', array('rows' => '3'));
+echo $form->end('Save Post');
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.