aboutsummaryrefslogtreecommitdiff
path: root/templates/profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/profile.html')
-rw-r--r--templates/profile.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/profile.html b/templates/profile.html
index 8704e23..edf9d76 100644
--- a/templates/profile.html
+++ b/templates/profile.html
@@ -5,7 +5,7 @@
<h4>Modifier mon profil</h4>
<a class="ml-auto btn btn-info" href="/">Retour</a>
</div>
-<h5>Photo de profil</h5>
+
{{if .ErrorMessage}}
<div class="alert alert-danger mt-4">Impossible d'effectuer la modification.
<div style="font-size: 0.8em">{{ .ErrorMessage }}</div>
@@ -70,8 +70,8 @@
</div>
<div class="form-group">
- <label for="description">Description (180 caractères maximum)</label>
- <textarea id="description" name="description" class="form-control" maxlength="180">{{ .Description }}</textarea>
+ <label for="description">Description</label>
+ <textarea id="description" name="description" class="form-control">{{ .Description }}</textarea>
</div>
<button type="submit" class="btn btn-primary">Enregistrer les modifications</button>
</form>