submitting jobs: remove stage out attribute remainings
authorMaciej Tronowski <mtro@man.poznan.pl>
Tue, 28 Apr 2015 10:56:30 +0000 (12:56 +0200)
committerMaciej Tronowski <mtro@man.poznan.pl>
Tue, 28 Apr 2015 10:56:30 +0000 (12:56 +0200)
qcg/forms.py
qcg/templates/qcg/job_submit.html

index 4cd49e7..a08a9e5 100644 (file)
@@ -137,8 +137,6 @@ class JobDescriptionForm(forms.Form):
 
     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='',
@@ -169,7 +167,6 @@ class JobDescriptionForm(forms.Form):
             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()
index 77f6fc7..ecc3c72 100644 (file)
             <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">