Show answer's title if answer has any records associated

If an answer has a description and/or documents/images
associated, the answer's title will be shown on the UI
so the user can associate a certain answer with its
related records

See issue #1998, as well as commit 7fad604
This commit is contained in:
Angel Perez
2017-10-06 14:46:13 -04:00
parent a1907c6f50
commit 8b8e8aff8f

View File

@@ -74,9 +74,9 @@
<div class="small-12 medium-6 column end" id="answer_<%= answer.id %>"
data-toggler=".medium-6" data-equalizer-watch>
<% if answer.description.present? %>
<h3><%= answer.title %></h3>
<h3><%= answer.title %></h3>
<% if answer.description.present? %>
<div class="margin-top">
<%= safe_html_with_links simple_format(answer.description) %>
</div>