markdown for comments and in the bio
This commit is contained in:
parent
90cff830a2
commit
a8d533cef7
|
@ -25,7 +25,8 @@
|
|||
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
|
||||
%i.fa.fa-exclamation-triangle
|
||||
Report
|
||||
%p.comments--content= comment.content
|
||||
%p.comments--content
|
||||
= markdown comment.content
|
||||
- if user_signed_in?
|
||||
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
|
||||
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
.profile--username
|
||||
= @user.screen_name
|
||||
- unless @user.bio.blank?
|
||||
%p.profile--text= @user.bio
|
||||
%p.profile--text= markdown @user.bio
|
||||
- unless @user.website.blank?
|
||||
%p.profile--text
|
||||
%i.fa.fa-globe
|
||||
|
|
Loading…
Reference in New Issue