disable spell checking on some input fields

This commit is contained in:
Emmanuel Viennet 2021-02-15 15:15:56 +01:00
parent 203c869638
commit 62d637cd8b
3 changed files with 4 additions and 4 deletions

View File

@ -89,7 +89,7 @@ def sidebar(context, REQUEST=None):
H.append( H.append(
"""<div class="box-chercheetud">Chercher étudiant:<br/> """<div class="box-chercheetud">Chercher étudiant:<br/>
<form id="form-chercheetud" action="%(ScoURL)s/search_etud_in_dept"> <form id="form-chercheetud" action="%(ScoURL)s/search_etud_in_dept">
<div><input type="text" size="12" id="in-expnom" name="expnom"></input></div> <div><input type="text" size="12" id="in-expnom" name="expnom" spellcheck="false"></input></div>
</form></div> </form></div>
<div class="etud-insidebar"> <div class="etud-insidebar">
""" """

View File

@ -130,7 +130,7 @@ def index_html(context, REQUEST=None, showcodes=0, showsemtable=0):
H.append( H.append(
"""<p><form action="Notes/view_formsemestre_by_etape"> """<p><form action="Notes/view_formsemestre_by_etape">
Chercher étape courante: <input name="etape_apo" type="text" size="8"></input> Chercher étape courante: <input name="etape_apo" type="text" size="8" spellcheck="false"></input>
</form </form
</p> </p>
""" """

View File

@ -58,7 +58,7 @@ def form_search_etud(
H.append( H.append(
"""<form action="search_etud_in_dept" method="POST"> """<form action="search_etud_in_dept" method="POST">
<b>%s</b> <b>%s</b>
<input type="text" name="expnom" width=12 value=""> <input type="text" name="expnom" width="12" spellcheck="false" value="">
<input type="submit" value="Chercher"> <input type="submit" value="Chercher">
<br/>(entrer une partie du nom) <br/>(entrer une partie du nom)
""" """
@ -294,7 +294,7 @@ def form_search_etud_in_accessible_depts(context, REQUEST):
return "" return ""
return """<form action="table_etud_in_accessible_depts" method="POST"> return """<form action="table_etud_in_accessible_depts" method="POST">
<b>Chercher étudiant:</b> <b>Chercher étudiant:</b>
<input type="text" name="expnom" width=12 value=""> <input type="text" name="expnom" width="12" spellcheck="false" value="">
<input type="submit" value="Chercher"> <input type="submit" value="Chercher">
<br/>(entrer une partie du nom ou le code NIP, cherche dans tous les départements autorisés) <br/>(entrer une partie du nom ou le code NIP, cherche dans tous les départements autorisés)
""" """