Sha256: 017f56566cb0ec59d74a2415997761740b241f42ea87feb8c97c9e571d9bdc1e

Contents?: true

Size: 611 Bytes

Versions: 6

Compression:

Stored size: 611 Bytes

Contents

= index_header do
  .hide *{id: 'new-' + @notable_resource + '-note'}
  .pull-left
    = count_div "#{@notable_resource}-notes-count" do
      = print_count @notable.notes_count, t_note_list
  .pull-right
    = ajax_link_to_new t(:'note.add'), [:new, @notable, :note], id: 'new-' + @notable_resource + '-note-link' if can_edit?

= hr

= index_body do
  = table_for "#{@notable_resource}-notes-index" do
    thead
      tr
        = th t(:'note.title')
        = th t(:'note.content')
        = th_actions 3 if can_edit?
    tbody
      = render partial: 'gaku/notes/note', collection: @notable.notes, as: :note

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/notes/_notes.html.slim
gaku-0.0.3 core/app/views/gaku/notes/_notes.html.slim
gaku-0.0.2 core/app/views/gaku/notes/_notes.html.slim
gaku_core-0.0.2 app/views/gaku/notes/_notes.html.slim
gaku-0.0.1 core/app/views/gaku/notes/_notes.html.slim
gaku_core-0.0.1 app/views/gaku/notes/_notes.html.slim