diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/data.jade | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/views/data.jade b/views/data.jade index 948053b..9dd54e4 100644 --- a/views/data.jade +++ b/views/data.jade @@ -220,7 +220,13 @@ block error dt message dd if collection.error.message - | #{collection.error.message} + - var lines = collection.error.message.split('\n') + if lines.length > 1 + for line in lines + | #{line.replace(/ /g, ' ')} + br + else + | #{collection.error.message} else i Not set |