Sha256: 33126debc9230141f7b76cdf0a271abeb2358c45977d681e0cfea4707ec755eb

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

.pull-right
  %a{:ng => {:click => 'songbook.addSong(songCtrl.song())'}} Add

%h3
  %small
    {{ songCtrl.song().artist }}
  %br/
  {{ songCtrl.song().title }}

%p
  %span{ng: {repeat: 'i in [-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6]'}}
    %input{type: 'radio', name: 'transposed_by', ng: {model: 'songCtrl.song().transposedBy'}} {{ i }}


%table
  %tbody
    %tr{:ng => {:repeat => 'section in songCtrl.song().sections'}}
      %td.text-right{:style => 'vertical-align: top; padding: 10px; padding-top: 0'}
        %strong
          {{ section.name }}
      %td
        %div{:ng => {:repeat => 'line in section.lines'}}
          %song-component{:ng => {:repeat => 'component in line'}}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
songbooks-0.1.2 app/views/songs/show.haml
songbooks-0.1.1 app/views/songs/show.haml
songbooks-0.1.0 app/views/songs/show.haml