Sha256: 5535c56d8948996d815a81aadbedcce6057d4e62ba3523aeab00a5380ead8297

Contents?: true

Size: 386 Bytes

Versions: 10

Compression:

Stored size: 386 Bytes

Contents

- Array(datatable.array_collection? ? resource : resource.send(name)).each do |associated|
  .col-resource_item
    - if show_path
      = link_to associated.to_s, send(show_path, associated.to_param), title: associated.to_s
    - elsif edit_path
      = link_to associated.to_s, send(edit_path, associated.to_param), title: associated.to_s
    - else
      = associated.to_s.html_safe

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_datatables-3.3.6 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.3.5 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.3.4 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.3.3 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.3.2 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.3.1 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.3.0 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.2.7 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.2.6 app/views/effective/datatables/_resource_column.html.haml
effective_datatables-3.2.5 app/views/effective/datatables/_resource_column.html.haml