From 783b0faa9fa1d3b84d713724a21cbeb80474d640 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 28 Sep 2013 09:20:40 +0200 Subject: [PATCH] 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 --- portal/forms.py | 3 +-- portal/templates/contact.html | 2 +- portal/templates/slice-request-view.html | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) 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 %}
-- 2.43.0