Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
Add img/a to example
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Becker committed Feb 27, 2016
1 parent 5409fa7 commit 2a91c5b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/badges/show.haml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
%pre
<object data="#{absolute_url(:badges, :render, id: @badge.id, format: :svg)}" type="image/svg+xml"></object>

or

%pre
<a href="#{absolute_url(:badges, :show, id: @badge.id)}">
<img src="#{absolute_url(:badges, :render, id: @badge.id, format: :svg)}" alt="Ember Community Badge"></img>
</a>

%h3 Proposed changes

- if @badge.badge_changes.proposed.length > 0
Expand Down

0 comments on commit 2a91c5b

Please sign in to comment.