From ccdb2917f515509c751918da97227d79c8dd84cb Mon Sep 17 00:00:00 2001
From: Rachel TORCHET <racheltorchet@users.noreply.github.com>
Date: Mon, 12 Jun 2017 15:05:12 +0200
Subject: [PATCH] tiny changes in form text

Former-commit-id: f4447abf5edf53187e6dcc7a41fc4c04f55cbfd8
---
 .../ippidb/templates/BibliographyForm.html    |  4 +-
 ippisite/ippidb/views.py                      | 37 -------------------
 2 files changed, 2 insertions(+), 39 deletions(-)

diff --git a/ippisite/ippidb/templates/BibliographyForm.html b/ippisite/ippidb/templates/BibliographyForm.html
index 55d08615..dd0877ef 100644
--- a/ippisite/ippidb/templates/BibliographyForm.html
+++ b/ippisite/ippidb/templates/BibliographyForm.html
@@ -14,8 +14,8 @@
 </nav>
 <div id="Form">
 	<div class="step_desc">
-	<p>Based on the ID you have provided, we have iden2fied the following informa2on concerning your bibliographic source.
-Please check that the information below is correct (Title, authors etc. ) and answer the few questions about the content of your bibliographic source.</p>
+	<p>Based on the ID you have provided, we have identified the following information concerning your bibliographic source.
+Please check that the information below is correct (Title, Authors etc. ) and answer the few questions about the content of your bibliographic source.</p>
 	</div>
 	<form action="" method="post">
 		{% csrf_token %}
diff --git a/ippisite/ippidb/views.py b/ippisite/ippidb/views.py
index b1c7b5c5..b50562ed 100644
--- a/ippisite/ippidb/views.py
+++ b/ippisite/ippidb/views.py
@@ -19,25 +19,6 @@ def tutorials(request):
 def adminSession(request):
     return render(request, 'admin-session.html')
 
-def add(request):
-    # if this is a POST request we need to process the form data
-    if request.method == 'POST':
-        # create a form instance and populate it with data from the request:
-        form = IdForm(request.POST)
-        # check whether it's valid:
-        if form.is_valid():
-            # process the data in form.cleaned_data as required
-            # ...
-            # redirect to a new URL:
-            return HttpResponseRedirect('/admin-session/add')
-
-    # if a GET (or any other method) we'll create a blank form
-    else:
-        form = IdForm()
-
-    return render(request, 'add.html', {'ID': form})
-
-
 FORMS = [("IdForm", ippidb.forms.IdForm),
          ("BibliographyForm", ippidb.forms.BibliographyForm),
          ("PDBForm", ippidb.forms.PDBForm),
@@ -63,21 +44,3 @@ class IppiWizard(SessionWizardView):
             'form_data': [form.cleaned_data for form in form_list],
         })
 
-# def add(request):
-#     # if this is a POST request we need to process the form data
-#     if request.method == 'POST':
-#         # create a form instance and populate it with data from the request:
-#         form = BibliographyForm(request.POST)
-#         # check whether it's valid:
-#         if form.is_valid():
-#             # process the data in form.cleaned_data as required
-#             # ...
-#             # redirect to a new URL:
-#             return HttpResponseRedirect('/admin-session/add')
-
-#     # if a GET (or any other method) we'll create a blank form
-#     else:
-#         form = BibliographyForm()
-
-#     return render(request, 'add.html', {'Biblio': form})
-
-- 
GitLab