Sha256: 0602e00d96ff53fda7003b795c7f19fa3f36908417a55f6cb5919c9ebdc26e8d

Contents?: true

Size: 710 Bytes

Versions: 108

Compression:

Stored size: 710 Bytes

Contents

.container
  .row
    .col-xs-12
      %h1
        Cities
        = link_to '[+]', new_city_path
      
    - @cities.each do |city|
      .col-xs-3
        .panel.panel-default
          .panel-heading
            = link_to city.name, city_path(city)
            = link_to '[~]', edit_city_path(city)
            .small.gray= city.id
            .cities-meta= "R(#{city.reports.length}) G(#{city.galleries.length}) V(#{city.videos.length}) U(#{city.current_users.length})"
    
          - if city.profile_photo.blank?
            = image_missing
            %div{ :style => "width: 100px; height: 100px; background: #cecece;" }
          - else
            = image_tag city.profile_photo.photo.url(:thumb)

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
ish_manager-0.1.8.139 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.138 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.137 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.136 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.135 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.134 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.133 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.132 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.131 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.129 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.128 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.127 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.126 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.125 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.124 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.123 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.122 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.121 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.120 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.119 app/views/ish_manager/cities/index.haml