Sha256: 4c156a2a63c9bcad62e79fe774c401c4c47c4155e33bfd4640887fc1426c2047

Contents?: true

Size: 746 Bytes

Versions: 8

Compression:

Stored size: 746 Bytes

Contents

.yui-b
  = render :partial => 'shared/admin_nav'

#yui-main
  .yui-b
    -box do 
      %h3= :metro_areas.l

      = paginate @metro_areas

      %table{:width=>"100%"}
        %tr
          %th= :name.l
          %th= :state.l
          %th= :country.l
          %th= :actions.l

        - for metro_area in @metro_areas
          %tr
            %td= metro_area.name 
            %td= metro_area.state.name if metro_area.state 
            %td= metro_area.country.name 
            %td
              = link_to :edit.l, edit_metro_area_path(metro_area) 
              |
              = link_to :destroy.l, metro_area_path(metro_area), :confirm => :are_you_sure.l, :method => :delete
      
      = link_to :new_metro_area.l, new_metro_area_path

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/metro_areas/index.html.haml
community_engine-2.3.1 app/views/metro_areas/index.html.haml
community_engine-2.3.0 app/views/metro_areas/index.html.haml
community_engine-2.1.0 app/views/metro_areas/index.html.haml
community_engine-2.0.0 app/views/metro_areas/index.html.haml
community_engine-2.0.0.beta3 app/views/metro_areas/index.html.haml
community_engine-2.0.0.beta2 app/views/metro_areas/index.html.haml
community_engine-2.0.0.beta1 app/views/metro_areas/index.html.haml