box-o-sand/PracticingPhp/web-cake/html/app/views/posts/add.ctp

8 lines
186 B
PHP

<h1>Add Post</h1>
<?php
echo $this->Form->create("Post");
echo $this->Form->input("title");
echo $this->Form->input("body", array("rows" => "3"));
echo $this->Form->end("Save Post");
?>