1: <?php
2:
3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
14: class Hermes_Form_Deliverable extends Horde_Form
15: {
16: public function __construct(&$vars)
17: {
18: parent::Horde_Form($vars, _("Deliverable Detail"));
19:
20: $this->addHidden('', 'deliverable_id', 'text', false);
21: $this->addHidden('', 'client_id', 'text', false);
22: $this->addHidden('', 'parent', 'text', false);
23:
24: $this->addVariable(_("Display Name"), 'name', 'text', true);
25: $this->addVariable(_("Active?"), 'active', 'boolean', true);
26: $this->addVariable(_("Estimated Hours"), 'estimate', 'number', false);
27: $this->addVariable(_("Description"), 'description', 'longtext', false);
28: }
29:
30: }
31: