summaryrefslogtreecommitdiff
path: root/app/views/parking_stalls/show.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-12 15:53:49 +0100
committerspag <spag@golwen.net>2013-02-12 15:53:49 +0100
commit36d1a38594361dcd021c23ae9c5040a37d0918df (patch)
tree15ebad678743935103e441bc54609ef9c58801a4 /app/views/parking_stalls/show.html.haml
parentfbdb5dca9b3979010b87b16fcb3bf9410c453e91 (diff)
make parking stall child of user/tenant
Diffstat (limited to 'app/views/parking_stalls/show.html.haml')
-rw-r--r--app/views/parking_stalls/show.html.haml8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/parking_stalls/show.html.haml b/app/views/parking_stalls/show.html.haml
index a95c111..583a0ee 100644
--- a/app/views/parking_stalls/show.html.haml
+++ b/app/views/parking_stalls/show.html.haml
@@ -7,13 +7,7 @@
%strong= t('parking_stalls.show.lot') + ":"
= @parking_stall.lot
%p
- %strong= t('parking_stalls.show.parking_stallable_id') + ":"
- = @parking_stall.parking_stallable_id
-%p
- %strong= t('parking_stalls.show.parking_stallable_type') + ":"
- = @parking_stall.parking_stallable_type
-%p
%strong= t('parking_stalls.show.comment') + ":"
= @parking_stall.comment
-= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @parking_stall } \ No newline at end of file
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @parking_stall.parking_stallable, :child => @parking_stall }