summaryrefslogtreecommitdiff
path: root/app/views/gs_parameters/index.html.haml
blob: 753e64b55e7f319fd4c6afe1d451989e56146a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- title t("gs_parameters.index.page_title")

- if @gs_parameters && @gs_parameters.count > 0
  - if @sections
    %table
      - @sections.each do |section|
        %tr
          %td{:colspan => 3}
            %h3= section
        = render "index_core", :gs_parameters => @gs_parameters.where(:section => section)
  - else
    %table
      = render "index_core", :gs_parameters => @gs_parameters

= render :partial => 'shared/create_link', :locals => {:child_class => GsParameter}