Karim abused this too much

This commit is contained in:
nilsding 2014-12-12 18:49:34 +01:00
parent 319d75fdf5
commit 4d944e1684
1 changed files with 7 additions and 1 deletions

View File

@ -20,7 +20,13 @@
%p.answerbox--question-text %p.answerbox--question-text
= a.question.content = a.question.content
.panel-body .panel-body
%p= a.content %p= a.content[0..255]
- if a.content.length > 255
[...]
%br/
Answer too long to display.
%a{href: show_user_answer_path(a.user.screen_name, a.id)}
Read the entire answer
- if @user.nil? - if @user.nil?
.row .row
.col-md-6.col-sm-4.col-xs-7.text-left.text-muted .col-md-6.col-sm-4.col-xs-7.text-left.text-muted