Fix no question label

This commit is contained in:
Maximilian Grundke
2016-04-30 14:43:51 +02:00
parent 88a81dceb5
commit d2ebfc9fde

View File

@ -15,7 +15,7 @@
<%= user %> | <%= @request_for_comment.requested_at %>
</p>
<h5>
<% if @request_for_comment.question %>
<% if @request_for_comment.question and not @request_for_comment.question == '' %>
<%= t('activerecord.attributes.request_for_comments.question')%>: "<%= @request_for_comment.question %>"
<% else %>
<%= t('request_for_comments.no_question') %>