source/_snippet.html.erb in refills-0.0.2 vs source/_snippet.html.erb in refills-0.1.0

- old
+ new

@@ -1,4 +1,13 @@ -<div class="snippet"> - <a href="#" class="copy-source">Copy</a> +<td class="snippet"> + <div class="copy-source-container"> + <% if language == :javascript -%> + <a href="javascript:void(0)" class="copy-source">Copy JavaScript</a> + <a href="javascript:void(0)" class="copy-source copy-coffee">Copy CoffeeScript</a> + <% elsif language == :markup -%> + <a href="javascript:void(0)" class="copy-source">Copy HTML</a> + <% else -%> + <a href="javascript:void(0)" class="copy-source">Copy Scss</a> + <% end -%> + </div> <pre><code class="language-<%= language %>"><%== snippet %></code></pre> -</div> +</td>