diff --git a/ippisite/ippidb/forms.py b/ippisite/ippidb/forms.py index 14f66d7cbcd5a008a97f46095ba45e855e718ca9..c53027b16255f0faeae3441561364bb7bbfe0681 100644 --- a/ippisite/ippidb/forms.py +++ b/ippisite/ippidb/forms.py @@ -482,6 +482,7 @@ class PpiModelForm(ModelForm): "data-olsontology": "mondo", "data-selectpath": "https://www.ebi.ac.uk/ols/", "olstype": "", + "class": "" } ), ) @@ -506,8 +507,8 @@ class PpiModelForm(ModelForm): "family_name", "symmetry", "pockets_nb", # pockets_nb is Ppi.pockets_nb in the xlsx file of #33 - "selected_diseases", "ols_diseases", + "selected_diseases", # 'other_diseases', ) widgets = { diff --git a/ippisite/ippidb/templates/PpiForm.html b/ippisite/ippidb/templates/PpiForm.html index 06605fd324aca0fc7edff715529b3461fd8a3da2..c5cf5faaa8287f5cd50de6bafa6d8b2ed6fcdd95 100644 --- a/ippisite/ippidb/templates/PpiForm.html +++ b/ippisite/ippidb/templates/PpiForm.html @@ -12,13 +12,11 @@ {%block step_desc%} {% if "Inhib_" in complex_type %} -You have selected an <span style="color:#2d96fa;" id="archi_type">{{ complex_type|cut:"Inhib_"}}</span> that is <span - style="color:#2d96fa;">{{ complex_choice }}</span> by the binding of PPI modulator. +You have selected an <span style="font-family: BrandonGrotesqueBld;" id="archi_type">{{ complex_type|cut:"Inhib_"}}</span> that is <span style="font-family: BrandonGrotesqueBld;">{{ complex_choice }}</span> by the binding of PPI modulator. {% elif "Stab_" in complex_type %} -You have selected an <span style="color:#2d96fa;" id="archi_type">{{ complex_type|cut:"Stab_"}}</span> that is <span - style="color:#2d96fa;">{{ complex_choice }}</span> by the binding of PPI modulator. +You have selected an <span style="font-family: BrandonGrotesqueBld;" id="archi_type">{{ complex_type|cut:"Stab_"}}</span> that is <span style="font-family: BrandonGrotesqueBld;">{{ complex_choice }}</span> by the binding of PPI modulator. {%endif%} -<br /> +<br/> {%blocktrans%}Please select a PPI target family name for the PPI you are describing. If not already present in the given list, please suggest one. </br> Also, please select a known disease associate with the PPI you are describing as listed in the MONDO diff --git a/ippisite/ippidb/views/contribute.py b/ippisite/ippidb/views/contribute.py index 40808ada6e830922da768cf4677c14018f786e26..a13c40f13eeda835c8eb1df69bece39784201f9a 100644 --- a/ippisite/ippidb/views/contribute.py +++ b/ippisite/ippidb/views/contribute.py @@ -121,7 +121,7 @@ ARCHITECTURE = { has_bound=True, nb_copy_bound=[], nb_per_pocket=[], - has_partner=False, + has_partner=True, nb_pockets=[], nb_copies_in_complex=[], symmetry=[], @@ -203,7 +203,7 @@ ARCHITECTURE = { has_bound=True, nb_copy_bound=[], nb_per_pocket=[], - has_partner=False, + has_partner=True, nb_pockets=[], nb_copies_in_complex=[], symmetry=[],