Sha256: 3b35514416f25db380277724e732d8d28807bd08123b3b096688d519569e8b5a

Contents?: true

Size: 617 Bytes

Versions: 3

Compression:

Stored size: 617 Bytes

Contents

.span12
  = render :partial => "mokio/common/notice"

  .box.gradient
    = box_title do
      %span= bt("index_title", @obj_class)
      = btn_new( bt("index_add_new", @obj_class), new_url(@obj_class) )

    .content.noPad.clearfix
      = responsive_dynamic_table do # see in CommonHelper
        %thead
          %tr
            -# Remember to override columns_for_table in your Model
            - @obj_class.columns_for_table.each do |t| 
              %th= bt(t, @obj_class)
            %th= bt("actions")
        %tbody
          - cache obj do
            = render partial: "mokio/common/obj", collection: obj

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mokio-0.0.8 app/views/mokio_haml/common/index.html.haml
mokio-0.0.6 app/views/mokio_haml/common/index.html.haml
mokio-0.0.5 app/views/mokio_haml/common/index.html.haml