Sha256: 674cd17571c371f5ea61a81ddf4a0d8602e675f823318d7ad3a9f345cfe90205

Contents?: true

Size: 310 Bytes

Versions: 21

Compression:

Stored size: 310 Bytes

Contents

- if model
  %tr
    - for prop in props
      %td= model.attribute_get(prop[:name]).to_s[0..150]
    %td.actions
      = form_link('Delete', route_to(model_name, model.id, 'delete'), 'Are you sure you want to delete this?', {:method => 'delete'})
      %a{:href => route_to(model_name, model.id, 'edit')} Edit

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
orange-0.3.1 lib/orange-core/views/default_resource/table_row.haml