Fixing Issue 101

master
Nathan Adams 2015-08-22 21:36:43 -05:00
parent 0d798632de
commit 0601e7e447
1 changed files with 8 additions and 0 deletions

View File

@ -101,6 +101,14 @@ class IDF_Form_ProjectConf extends Pluf_Form
'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();
for ($i=1;$i<7;$i++) {