]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Keep description empty (and not use None)
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Oct 2019 10:31:52 +0000 (10:31 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Oct 2019 10:31:52 +0000 (10:31 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/user-edit.html

index d831ed2e14b1f1610b6c3a6af383881793affdf4..c9322bf2daf6a8bcd5b6af26ef2c25a0802a4989 100644 (file)
@@ -71,7 +71,7 @@
 
                        <div class="form-group">
                                <textarea type="text" class="form-control" name="description" rows="5"
-                                       placeholder="{{ _("Tell Us Who You Are") }}">{{ account.description }}</textarea>
+                                       placeholder="{{ _("Tell Us Who You Are") }}">{{ account.description or "" }}</textarea>
 
                                <small class="form-text text-muted">
                                        {{ _("You can use Markdown syntax as you know it from the IPFire Wiki") }}