diff options
Diffstat (limited to 'templates/profile.html')
-rw-r--r-- | templates/profile.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/profile.html b/templates/profile.html index bfd79cd..5445d6d 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -37,6 +37,18 @@ <label for="surname">Nom de famille:</label> <input type="text" id="surname" name="surname" class="form-control" value="{{ .Surname }}" /> </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> + </div> + <div class="form-group form-check"> + {{if .Visibility}} + <input class="form-check-input" name="visibility" type="checkbox" id="visibility" checked> + {{else}} + <input class="form-check-input" name="visibility" type="checkbox" id="visibility"> + {{end}} + <label class="form-check-label" for="visibility">Apparaît sur l'annuaire</label> + </div> <button type="submit" class="btn btn-primary">Enregistrer les modifications</button> </form> {{end}} |