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

@ -1,15 +1,22 @@
%p#notice= notice
.grid.grid-cols-3
%div
%div
%p
%b Name:
= @entity.name
%p
%b Ha:
= @entity.ha_id
%p
%b Type:
= @entity.ha_type
%p
%b Type:
= @entity.value
%p
%b Member:
= @entity.member.name
%p
%b Name:
= @entity.name
%p
%b Ha:
= @entity.ha_id
%p
%b Type:
= @entity.type
= link_to 'Edit', edit_entity_path(@entity)
\|
= link_to 'Back', entities_path
= link_to 'Edit', edit_entity_path(@entity)
\|
= link_to 'Back', entities_path