Sha256: 8702c20f649d58fad0acc1a05bcccf8d7d095c9284ea794019359f840db3ce0d
Contents?: true
Size: 655 Bytes
Versions: 10
Compression:
Stored size: 655 Bytes
Contents
markup do |m| m.h1 'Listing org_department_positions' m.table do m.thead do m.tr do m.th m.th m.th end end m.tbody do @org_department_positions.each do |org_department_position| m.tr do m.td { m << link_to('Show', 'org_department_position') } m.td { m << link_to('Edit', edit_org_department_position_path(org_department_position)) } m.td { m << link_to('Destroy', org_department_position, data: { confirm: 'Are you sure?' }, method: :delete) } end end end end m.br m << link_to('New Org department position', new_org_department_position_path) end
Version data entries
10 entries across 10 versions & 1 rubygems