Sha256: 5405a3c70a4dabf4dd2757197659974edabcd414812dd526d73f2230f3bb3c6d

Contents?: true

Size: 663 Bytes

Versions: 3

Compression:

Stored size: 663 Bytes

Contents

.container
  .row
    .col-xs-12
      %h1 Cities
      
    - @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

3 entries across 3 versions & 1 rubygems

Version Path
ish_manager-0.1.8.28 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.27 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.26 app/views/ish_manager/cities/index.haml