Commit 58d63a66 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Improve view with list of badges

parent b7fa7c4d
...@@ -6,10 +6,15 @@ ...@@ -6,10 +6,15 @@
%b Builds badge · %b Builds badge ·
= @badge.to_html = @badge.to_html
.panel-body .panel-body
%table.table .row
%tr .col-md-2.text-center
%td Markdown Markdown
%td= markdown("```markdown\n#{@badge.to_markdown}\n```") .col-md-10
%tr = markdown("```markdown\n#{@badge.to_markdown}\n```")
%td HTML .row
%td= markdown("```html\n#{@badge.to_html}\n```") %hr
.row
.col-md-2.text-center
HTML
.col-md-10
= markdown("```html\n#{@badge.to_html}\n```")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment