design updates

This commit is contained in:
pixeldesu 2014-12-12 19:01:34 +01:00
parent 54ec828e5b
commit c4bdc8fd3e
1 changed files with 3 additions and 4 deletions

View File

@ -25,10 +25,9 @@
= 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
%p
%a.btn.btn-primary{href: show_user_answer_path(a.user.screen_name, a.id)}
Read the entire answer
- else
= a.content
- if @user.nil?