compass/doc-src/layouts/partials/reference/examples.haml
2010-01-30 16:31:36 -08:00

8 lines
250 B
Plaintext

- if (examples = examples(@item)).any?
%h2 Examples
%dl.examples
- examples.each do |example|
%dt= link_to example.item[:title], example, :target => "_blank"
- if example.item[:description]
%dd= example.item[:description]