Sha256: 178447dd82aa6648477fadf14d47867b15ec8e33cfe3e9fd082907e906446243

Contents?: true

Size: 170 Bytes

Versions: 21

Compression:

Stored size: 170 Bytes

Contents

- if (keys = attr 'keys').size == 1
  %kbd=keys.first
- else
  %kbd.keyseq
    - keys.each_with_index do |key, idx|
      - unless idx.zero?
        ='+'
      %kbd>=key

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hyla-1.0.9 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.9.pre.3 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.9.pre.2 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.9.pre.1 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.8 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.9 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.8 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.7 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.6 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.5 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.3 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.2 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.7.pre.1 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.6 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.5 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.5.pre.1 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.4 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.3 lib/resources/backends/haml/html5/inline_kbd.html.haml
hyla-1.0.2 lib/resources/backends/haml/html5/inline_kbd.html.haml