From: Thierry Parmentelat Date: Sat, 28 Sep 2013 07:20:40 +0000 (+0200) Subject: clean up as hints are not yet exposed to slice request an contact X-Git-Tag: myslice-0.2-5~80 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=783b0faa9fa1d3b84d713724a21cbeb80474d640;hp=d5b4e556e1a683f7461e8f475851e2181b995712;p=unfold.git clean up as hints are not yet exposed to slice request an contact not quite sure these hints are really useful except in some very specific cases --- diff --git a/portal/forms.py b/portal/forms.py index 07c25b49..109d9669 100644 --- a/portal/forms.py +++ b/portal/forms.py @@ -62,8 +62,7 @@ class SliceRequestForm(forms.Form): # email = forms.EmailField() # cc_myself = forms.BooleanField(required=False) - slice_name = forms.CharField(widget=forms.TextInput(attrs={'class':'form-control'}), - help_text="This shows up as a hint") + slice_name = forms.CharField(widget=forms.TextInput(attrs={'class':'form-control'})) authority_hrn = forms.ChoiceField(choices=[(1, 'un')],widget=forms.Select(attrs={'class':'form-control'})) number_of_nodes = forms.DecimalField(widget=forms.TextInput(attrs={'class':'form-control'})) type_of_nodes = forms.CharField(widget=forms.TextInput(attrs={'class':'form-control'})) diff --git a/portal/templates/contact.html b/portal/templates/contact.html index a174a5c8..3468b0ff 100644 --- a/portal/templates/contact.html +++ b/portal/templates/contact.html @@ -19,7 +19,7 @@ {% for field in form %}
-
{{ field.errors }} {{ field }}

{{ field.help_text }}

+
{{ field.errors }} {{ field }}

{{ field.help_text }}

{% endfor %}
diff --git a/portal/templates/slice-request-view.html b/portal/templates/slice-request-view.html index 627a05c0..7ff306c1 100644 --- a/portal/templates/slice-request-view.html +++ b/portal/templates/slice-request-view.html @@ -21,7 +21,7 @@ {% for field in form %}
-
{{ field.errors }} {{ field }}

{{ field.help_text }}

+
{{ field.errors }} {{ field }}

{{ field.help_text }}

{% endfor %}