mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-07 19:53:36 +01:00
markdown for comments and in the bio
This commit is contained in:
parent
90cff830a2
commit
a8d533cef7
2 changed files with 3 additions and 2 deletions
|
@ -25,7 +25,8 @@
|
||||||
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
|
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
|
||||||
%i.fa.fa-exclamation-triangle
|
%i.fa.fa-exclamation-triangle
|
||||||
Report
|
Report
|
||||||
%p.comments--content= comment.content
|
%p.comments--content
|
||||||
|
= markdown comment.content
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
|
.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 }}
|
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.profile--username
|
.profile--username
|
||||||
= @user.screen_name
|
= @user.screen_name
|
||||||
- unless @user.bio.blank?
|
- unless @user.bio.blank?
|
||||||
%p.profile--text= @user.bio
|
%p.profile--text= markdown @user.bio
|
||||||
- unless @user.website.blank?
|
- unless @user.website.blank?
|
||||||
%p.profile--text
|
%p.profile--text
|
||||||
%i.fa.fa-globe
|
%i.fa.fa-globe
|
||||||
|
|
Loading…
Reference in a new issue