Sha256: 2388c96a6461e0b8c2cc682847e50c0370339f0cc05b47c6520c195919066d5e

Contents?: true

Size: 613 Bytes

Versions: 16

Compression:

Stored size: 613 Bytes

Contents

.d-none *{id: 'new-' + @notable_resource + '-note'}

= index_header do
  .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', class: 'btn btn-primary'}

= index_body do
  = table_for "#{@notable_resource}-notes-index" do
    thead
      tr
        = th t(:'note.title')
        = th t(:'note.content')
        = th_actions 3

    tbody
      = render partial: 'gaku/notes/note', collection: @notable.notes, as: :note

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_frontend-0.3.0 app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.3.0.pre.4 app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.3.0.pre.3 app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.3.0.pre.2 app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.3.0.pre.1 app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.3.0.pre.0 app/views/gaku/notes/_notes.html.slim
gaku-0.2.4 frontend/app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.2.4 app/views/gaku/notes/_notes.html.slim
gaku-0.2.3 frontend/app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.2.3 app/views/gaku/notes/_notes.html.slim
gaku-0.2.2 frontend/app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.2.2 app/views/gaku/notes/_notes.html.slim
gaku-0.2.1 frontend/app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.2.1 app/views/gaku/notes/_notes.html.slim
gaku-0.2.0 frontend/app/views/gaku/notes/_notes.html.slim
gaku_frontend-0.2.0 app/views/gaku/notes/_notes.html.slim