Sha256: 46a886633e27069aea3045b68b364fbbe758b3d342c0e566c1870e88f521ff74
Contents?: true
Size: 574 Bytes
Versions: 10
Compression:
Stored size: 574 Bytes
Contents
markup do |m| m.h1 'Listing org_departments' m.table do m.thead do m.tr do m.th m.th m.th end end m.tbody do @org_departments.each do |org_department| m.tr do m.td { m << link_to('Show', 'org_department') } m.td { m << link_to('Edit', edit_org_department_path(org_department)) } m.td { m << link_to('Destroy', org_department, data: { confirm: 'Are you sure?' }, method: :delete) } end end end end m.br m << link_to('New Org department', new_org_department_path) end
Version data entries
10 entries across 10 versions & 1 rubygems