diff --git a/views/recipient.haml b/views/recipient.haml index 83816f3..885d4f8 100644 --- a/views/recipient.haml +++ b/views/recipient.haml @@ -49,8 +49,9 @@ Source: &= recipient.source -%pre - &= recipient.yaml.to_yaml +- if !recipient.yaml.to_a.empty? + %pre + &= recipient.yaml.to_yaml %form{method: 'POST', action: '/comment-recipient'} %input{type: 'hidden', name: 'list', value: list.id}