input = forms.CharField(label=u"Standardowe wejście", max_length=500, required=False)
stage_in = forms.MultipleChoiceField(label=u"Stage in", required=False)
- # TODO stage_out (?)
- # stage_out = forms.MultipleChoiceField(label=u"Stage out", required=False)
monitoring = forms.BooleanField(label=u"Portal QCG-Monitoring", required=False)
notify_type = forms.ChoiceField(label=u"Monitorowanie stanu", choices=PROTOCOL_CHOICES, required=False, initial='',
self.fields['arguments'].choices += ((v, v) for v in data.getlist('arguments'))
self.fields['native'].choices += ((v, v) for v in data.getlist('native'))
self.fields['stage_in'].choices += ((v, v) for v in data.getlist('stage_in'))
- # self.fields['stage_out'].choices += ((v, v) for v in data.getlist('stage_out'))
def clean(self):
data = super(JobDescriptionForm, self).clean()
<fieldset id="files" class="tab-pane" role="tabpanel">
{% bootstrap_field form.input layout="horizontal" %}
{% bootstrap_field form.stage_in layout="horizontal" %}
-{# {% bootstrap_field form.stage_out layout="horizontal" form_group_class="form-group collapse" %}#}
</fieldset>
<fieldset id="environment" class="tab-pane" role="tabpanel">