mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-25 04:07:50 +01:00
removed unnecessary p tag
This commit is contained in:
parent
0e4d744478
commit
5829d4f1ef
1 changed files with 9 additions and 10 deletions
|
@ -23,16 +23,15 @@
|
||||||
%p.answerbox--question-text
|
%p.answerbox--question-text
|
||||||
= a.question.content
|
= a.question.content
|
||||||
.panel-body
|
.panel-body
|
||||||
%p
|
- if @display_all.nil?
|
||||||
- if @display_all.nil?
|
= markdown a.content[0..255]
|
||||||
= markdown a.content[0..255]
|
- if a.content.length > 255
|
||||||
- if a.content.length > 255
|
[...]
|
||||||
[...]
|
%p
|
||||||
%p
|
%a.btn.btn-primary{href: show_user_answer_path(a.user.screen_name, a.id)}
|
||||||
%a.btn.btn-primary{href: show_user_answer_path(a.user.screen_name, a.id)}
|
Read the entire answer
|
||||||
Read the entire answer
|
- else
|
||||||
- else
|
= markdown a.content
|
||||||
= markdown a.content
|
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in a new issue