From 6ba99e07fe1bf711bd64e4e6b2a0ed72e9100696 Mon Sep 17 00:00:00 2001 From: Maciej Tronowski Date: Tue, 28 Apr 2015 12:56:30 +0200 Subject: [PATCH] submitting jobs: remove stage out attribute remainings --- qcg/forms.py | 3 --- qcg/templates/qcg/job_submit.html | 1 - 2 files changed, 4 deletions(-) diff --git a/qcg/forms.py b/qcg/forms.py index 4cd49e7..a08a9e5 100644 --- a/qcg/forms.py +++ b/qcg/forms.py @@ -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() diff --git a/qcg/templates/qcg/job_submit.html b/qcg/templates/qcg/job_submit.html index 77f6fc7..ecc3c72 100644 --- a/qcg/templates/qcg/job_submit.html +++ b/qcg/templates/qcg/job_submit.html @@ -184,7 +184,6 @@
{% 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" %}#}
-- 1.7.9.5