Fix code generation form template
This commit is contained in:
parent
244a2434e4
commit
c2f229f085
@ -34,18 +34,7 @@
|
|||||||
<div class="input-group mt-4">
|
<div class="input-group mt-4">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<div class="input-group-text">
|
<div class="input-group-text">
|
||||||
<input type="radio" name="choice" value="display" id="choice_display" checked="true">
|
<input type="radio" name="choice" value="send" id="choice_send" checked="true">
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<label class="form-control" for="choice_display">
|
|
||||||
Afficher le code et me laisser l'envoyer
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="input-group mt-4">
|
|
||||||
<div class="input-group-prepend">
|
|
||||||
<div class="input-group-text">
|
|
||||||
<input type="radio" name="choice" value="send" id="choice_send" aria-label="Checkbox for following text input">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<label class="form-control" for="choice_send">
|
<label class="form-control" for="choice_send">
|
||||||
@ -53,6 +42,22 @@
|
|||||||
</label>
|
</label>
|
||||||
<input class="form-control" type="text" name="sendto" id="sendto" placeholder="Addresse mail..." onclick="document.getElementById('choice_send').checked = true;" />
|
<input class="form-control" type="text" name="sendto" id="sendto" placeholder="Addresse mail..." onclick="document.getElementById('choice_send').checked = true;" />
|
||||||
</div>
|
</div>
|
||||||
|
{{if .ErrorInvalidEmail}}
|
||||||
|
<div class="alert alert-warning mt-4">
|
||||||
|
Addresse mail invalide.
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
<div class="input-group mt-4">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<div class="input-group-text">
|
||||||
|
<input type="radio" name="choice" value="display" id="choice_display">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<label class="form-control" for="choice_display">
|
||||||
|
Afficher le code et me laisser l'envoyer
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group mt-4">
|
<div class="form-group mt-4">
|
||||||
<button type="submit" class="btn btn-primary">Génerer le code</button>
|
<button type="submit" class="btn btn-primary">Génerer le code</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user