_samples_header.haml 244 B

1234567891011121314151617
  1. .nav
  2. %a( href="/") Home
  3. .page-header.title
  4. %h1 #{data.samples[id].title}
  5. .chart
  6. #chart
  7. .sourcecode
  8. %h3 # #{id}.js
  9. %pre
  10. %code.html.javascript
  11. = js_as_plain id
  12. = partial :script
  13. = javascript_include_tag "samples/#{id}.js"