markdown for comments and in the bio

This commit is contained in:
nilsding 2015-01-07 07:02:07 +01:00
parent 90cff830a2
commit a8d533cef7
2 changed files with 3 additions and 2 deletions

View File

@ -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 }}

View File

@ -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