diff --git a/src/Sustain/AppBundle/Form/UploadType.php b/src/Sustain/AppBundle/Form/UploadType.php index 0d66d62..976bcf7 100644 --- a/src/Sustain/AppBundle/Form/UploadType.php +++ b/src/Sustain/AppBundle/Form/UploadType.php @@ -39,6 +39,10 @@ function(\Sustain\AppBundle\Entity\ObjectiveRepository $er) use ($options) { return $er->createQueryBuilder('o') ->orderBy('o.objective', 'ASC'); }, 'expanded'=>true,'multiple'=>true, 'label' => 'Select Objectives', 'attr' => array('class' => 'checkbox'))) + ->add('access', 'choice', array( + 'choices' => array('0' => 'Public', '1' => 'Faculty Only', '2'=> 'Admin Only'), + 'required' => true, 'expanded' => true, 'attr' => array('class' => 'radio') + )) ; }