update captcha and send email to user
This commit is contained in:
@@ -5,24 +5,6 @@
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="/css/frombulma.css">
|
||||
<link rel="stylesheet" href="/css/styles.css">
|
||||
<style type="text/css">
|
||||
.form-line>.input, .form-line>.textarea{
|
||||
border-color: #aaaaaa;
|
||||
width:100%;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.form-line>.textarea{
|
||||
min-height: 25em;
|
||||
}
|
||||
.form-error{
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.form-alert{
|
||||
background-color: rgba(255, 0, 0, 0.2);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -44,7 +26,7 @@
|
||||
<label class="label" for="captcha">Vérification d’humanité: combien font {{first_number}} {{op_text}} {{second_number}} ?</label>
|
||||
</div>
|
||||
<div class="form-line field">
|
||||
<input class="input {% if captcha_error %}form-alert{% endif %}" id="captcha" type="number" name="captcha" min="-10" max="100" required />
|
||||
<input class="input {% if captcha_error %}form-alert{% endif %}" id="captcha" type="number" name="captcha" min="0" max="81" required />
|
||||
</div>
|
||||
{% if captcha_error %}
|
||||
<div class="form-error">Le captcha est invalide veuillez réessayer</div>
|
||||
|
Reference in New Issue
Block a user