entity scaffold
This commit is contained in:
15
app/views/entities/show.html.haml
Normal file
15
app/views/entities/show.html.haml
Normal file
@ -0,0 +1,15 @@
|
||||
%p#notice= notice
|
||||
|
||||
%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
|
Reference in New Issue
Block a user