1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 22:20:30 +02:00

Pas de chiffre dans les noms d'équipe

This commit is contained in:
galaxyoyo
2019-10-06 14:03:02 +02:00
parent 866d4a2744
commit 94a364cc3d
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ require_once "header.php";
<div class="form-row">
<div class="form-group col-md-6">
<label for="name">Nom :</label>
<input class="form-control" type="text" id="name" name="name"
<input class="form-control" type="text" id="name" name="name" pattern="[A-Za-zÀ-ÿ ]+"
value="<?php if (isset($new_team)) echo $new_team->name ?>" required/>
</div>

View File

@ -61,7 +61,7 @@ require_once "header.php";
<div class="form-row">
<div class="form-group col-md-6">
<label for="name">Nom :</label>
<input class="form-control" type="text" id="name" name="name"
<input class="form-control" type="text" id="name" name="name" pattern="[A-Za-zÀ-ÿ ]+"
value="<?= $team->getName() ?>" required/>
</div>