Archived
1
0
Fork 0

Create blogpost form

This commit is contained in:
Fredric N 2010-10-30 13:50:22 +02:00
parent 469ea99678
commit 36fa5bd01d

View file

@ -0,0 +1,19 @@
<?php
class Admin_BlogCreate extends Fiktiv_Form
{
public function init() {
$this->addElement('Text', 'title', array(
'label' => 'Subject'
));
$this->addElement('Textarea', 'content', array(
'label' => 'Post'
));
$this->addElement('Submit', 'Submit', array(
'label' => 'Save'
));
}
}