Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
admin files upload form
Browse files Browse the repository at this point in the history
  • Loading branch information
rlbaltha committed Sep 1, 2017
1 parent 641e948 commit da557fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Sustain/AppBundle/Form/UploadType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
))
;
}

Expand Down

0 comments on commit da557fb

Please sign in to comment.