summaryrefslogtreecommitdiff
path: root/app/views/route_elements/_index_core.html.haml
blob: 343568697243426bbf95b4cbad0efbcc0dc86d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%table
  %tr
    %th= t('route_elements.index.var_in')
    %th= t('route_elements.index.var_out')
    %th= t('route_elements.index.pattern')
    %th= t('route_elements.index.replacement')
    %th= t('route_elements.index.action')
    %th= t('route_elements.index.mandatory')

  - reset_cycle
  - for route_element in route_elements
    %tr{:class => cycle('odd', 'even')}
      %td= route_element.var_in
      %td= route_element.var_out
      %td= route_element.pattern
      %td= route_element.replacement
      %td= route_element.action
      %td= route_element.mandatory
      =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => @call_route, :child => route_element}