diff --git a/tailbone/forms/renderers/people.py b/tailbone/forms/renderers/people.py index dfaa397d..c6c6e5fc 100644 --- a/tailbone/forms/renderers/people.py +++ b/tailbone/forms/renderers/people.py @@ -85,4 +85,8 @@ class UserFieldRenderer(TextFieldRenderer): Renderer for :class:`rattail.db.model.User` instance fields. """ - pass + def render_readonly(self, **kwargs): + user = self.raw_value + if user: + return user.display_name + return u''