diff --git a/app/views/users/comments/_comment.html.slim b/app/views/users/comments/_comment.html.slim index b3c7f3f8f06..c35281c35c9 100644 --- a/app/views/users/comments/_comment.html.slim +++ b/app/views/users/comments/_comment.html.slim @@ -2,14 +2,14 @@ .card-list-item(class="is-#{commentable.class.to_s.tableize.singularize}") .card-list-item__inner .card-list-item__label - case commentable.class.to_s - when 'Event' + - case commentable.class.to_s + - when 'Event' span.card-list-item__label-inner.is-sm | 特別
イベント - when 'RegularEvent' + - when 'RegularEvent' span.card-list-item__label-inner.is-sm | 定期
イベント - else + - else span.card-list-item__label-inner = t("activerecord.models.#{commentable.class.to_s.tableize.singularize}") .card-list-item__rows