From d2ebfc9fdef8b64f91f9c9258151f3997aafcfcc Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Sat, 30 Apr 2016 14:43:51 +0200 Subject: [PATCH] Fix no question label --- app/views/request_for_comments/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/request_for_comments/show.html.erb b/app/views/request_for_comments/show.html.erb index e276fec4..5564d187 100644 --- a/app/views/request_for_comments/show.html.erb +++ b/app/views/request_for_comments/show.html.erb @@ -15,7 +15,7 @@ <%= user %> | <%= @request_for_comment.requested_at %>

- <% 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') %>