summaryrefslogtreecommitdiff
path: root/app/views/parking_stalls/_index_core.html.haml
blob: fb317a0442da779ebb31fbfcc2c8b0f65d358fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%table.table.table-striped
  %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')

  
  - for parking_stall in parking_stalls
    %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}