basic entity get/show

This commit is contained in:
2023-01-13 21:47:31 +02:00
parent 26ea76c8e9
commit 38f51a5de6
13 changed files with 74 additions and 38 deletions

View File

@ -6,6 +6,7 @@
%th Name
%th Ha
%th Type
%th Member
%th
%th
%th
@ -15,7 +16,8 @@
%tr
%td= entity.name
%td= entity.ha_id
%td= entity.type
%td= entity.ha_type
%td= entity.member
%td= link_to 'Show', entity
%td= link_to 'Edit', edit_entity_path(entity)
%td= link_to 'Destroy', entity, method: :delete, data: { confirm: 'Are you sure?' }