diff options
Diffstat (limited to 'pastepy/templates/paste.html')
-rw-r--r-- | pastepy/templates/paste.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pastepy/templates/paste.html b/pastepy/templates/paste.html index 9a22e76..ddb321e 100644 --- a/pastepy/templates/paste.html +++ b/pastepy/templates/paste.html @@ -19,7 +19,7 @@ <label for="remember_syntax">Remember syntax</label> </li> <li> - <input type="text" name="nick" id="nick" value="{{ session.nick }}"> + <input type="text" name="nick" id="nick" value="{{ session.nick or 'Anonymous' }}"> <input type="checkbox" name="remember_me" id="remember_me"{% if session.nick %} checked{% endif %}> <label for="remember_me">Remember me</label> </li> |