summaryrefslogtreecommitdiff
path: root/app/views/parking_stalls/_index_core.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/_index_core.html.haml
parentfbdb5dca9b3979010b87b16fcb3bf9410c453e91 (diff)
make parking stall child of user/tenant
Diffstat (limited to 'app/views/parking_stalls/_index_core.html.haml')
-rw-r--r--app/views/parking_stalls/_index_core.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/parking_stalls/_index_core.html.haml b/app/views/parking_stalls/_index_core.html.haml
index fb317a0..9f25217 100644
--- a/app/views/parking_stalls/_index_core.html.haml
+++ b/app/views/parking_stalls/_index_core.html.haml
@@ -2,8 +2,6 @@
%tr
%th= t('parking_stalls.index.name')
%th= t('parking_stalls.index.lot')
- %th= t('parking_stalls.index.parking_stallable_id')
- %th= t('parking_stalls.index.parking_stallable_type')
%th= t('parking_stalls.index.comment')
@@ -11,7 +9,5 @@
%tr
%td= parking_stall.name
%td= parking_stall.lot
- %td= parking_stall.parking_stallable_id
- %td= parking_stall.parking_stallable_type
%td= parking_stall.comment
- =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => parking_stall} \ No newline at end of file
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => parking_stall.parking_stallable, :child => parking_stall} \ No newline at end of file