1
0
Fork 0

Display PersonComment#origin

This commit is contained in:
Alex Kotov 2019-07-22 23:00:39 +05:00
parent 25eb75405d
commit 7426f978ae
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -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? %>