summaryrefslogtreecommitdiff
path: root/app/views/gateway_settings/_index_core.html.haml
blob: 36b47c8c7842c26ae928cf3eaac927eaa7c25fea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%table.table.table-striped
  %thead
    %tr
      %th= t('gateway_settings.index.name')
      %th= t('gateway_settings.index.value')
      %th= t('gateway_settings.index.description')

  %tbody
    - for gateway_setting in gateway_settings
      %tr
        %td= t("gateway_settings.settings.#{@gateway.technology}.#{gateway_setting.name}.label")
        %td= gateway_setting.value
        %td
          - if gateway_setting.description.blank?
            = t("gateway_settings.settings.#{@gateway.technology}.#{gateway_setting.name}.hint")
          - else
            = gateway_setting.description
        =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => gateway_setting.gateway, :child => gateway_setting}