Fixing Issue 101

This commit is contained in:
Nathan Adams 2015-08-22 21:36:43 -05:00
parent 0d798632de
commit 0601e7e447

View File

@ -101,6 +101,14 @@ class IDF_Form_ProjectConf extends Pluf_Form
'widget_attrs' => array('disabled' => 'disabled') 'widget_attrs' => array('disabled' => 'disabled')
)); ));
$this->fields['disabled'] = new Pluf_Form_Field_Boolean(
array('required' => false,
'label' => __('Disable Project'),
'initial' => $this->project->disabled,
'widget' => 'Pluf_Form_Widget_CheckboxInput',
'widget_attrs' => array('disabled' => 'disabled')
));
} }
$tags = $this->project->get_tags_list(); $tags = $this->project->get_tags_list();
for ($i=1;$i<7;$i++) { for ($i=1;$i<7;$i++) {