Sha256: 147481268d2076bffcd31bdaa5902c0f367cdc56a12c6cf7fbeb7eb5fdd9c137

Contents?: true

Size: 786 Bytes

Versions: 2

Compression:

Stored size: 786 Bytes

Contents

.row
  .one.whole
    .uf-h2= pattern.name
.row
  .one.half
    .uf-h3 Description and Purpose
    .uf-description
      :markdown
        #{pattern.description}
  .one.half.pad-left
    .uf-h3 Usage Guidelines
    .uf-description
      :markdown
        #{pattern.usage}
.row.gap-top
  .example{:'data-presents' => ('show-code' if pattern.display_code?)}
    - if pattern.display_code?
      .row
        .js-pattern-view-modes.uf-pattern-view-modes.pull-right
          = link_to "Design", "#", class: "js-design-link uf-bc-gray"
          = link_to "Code", "#", class: "js-code-link"

    .row.padded.rendered
      .js-design-section
        = render partial: pattern.key.to_s
      .js-code-section.uf-hidden
        = preserve(pattern.highlighted_source) if pattern.display_code?

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
undercase-0.2.57 app/views/undercase/patterns/_pattern.html.haml
undercase-0.2.29 app/views/undercase/patterns/_pattern.html.haml