-
BERJON Matthieu authored
I overrode the `form_valid` of the `RunnerCreate` class. I checked if the `open_bar` form field is true and the user is a super user and set the model field to true. If the user isn't a super user but the `open_bar` field is to true then I set the model field to False and send an error message to the template. I updated as well the template to show in the list of runner when one is open bar. Signed-off-by: Matthieu Berjon <matthieu.berjon@inria.fr>
137d0724