Improve view with list of badges
This commit is contained in:
parent
b7fa7c4d59
commit
58d63a66a0
1 changed files with 12 additions and 7 deletions
|
@ -6,10 +6,15 @@
|
|||
%b Builds badge ·
|
||||
= @badge.to_html
|
||||
.panel-body
|
||||
%table.table
|
||||
%tr
|
||||
%td Markdown
|
||||
%td= markdown("```markdown\n#{@badge.to_markdown}\n```")
|
||||
%tr
|
||||
%td HTML
|
||||
%td= markdown("```html\n#{@badge.to_html}\n```")
|
||||
.row
|
||||
.col-md-2.text-center
|
||||
Markdown
|
||||
.col-md-10
|
||||
= markdown("```markdown\n#{@badge.to_markdown}\n```")
|
||||
.row
|
||||
%hr
|
||||
.row
|
||||
.col-md-2.text-center
|
||||
HTML
|
||||
.col-md-10
|
||||
= markdown("```html\n#{@badge.to_html}\n```")
|
||||
|
|
Loading…
Reference in a new issue