Display PersonComment#origin
This commit is contained in:
parent
25eb75405d
commit
7426f978ae
1 changed files with 9 additions and 0 deletions
|
@ -10,6 +10,15 @@
|
||||||
<div class="card border-light">
|
<div class="card border-light">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="card-text">
|
<p class="card-text">
|
||||||
|
<% if person_comment.origin %>
|
||||||
|
<strong>
|
||||||
|
<%= translate person_comment.origin,
|
||||||
|
scope: %i[enums person_comment_origin] %>
|
||||||
|
</strong>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<%= person_comment.text %>
|
<%= person_comment.text %>
|
||||||
|
|
||||||
<% if person_comment.attachment.attached? %>
|
<% if person_comment.attachment.attached? %>
|
||||||
|
|
Reference in a new issue