Sha256: 7c2efdd6070a4d969904874d60799914b16f67546895795698ea66be5d25c12f

Contents?: true

Size: 844 Bytes

Versions: 44

Compression:

Stored size: 844 Bytes

Contents

.container
  .row
    .col-xs-12
      %h1
        Cities
        = link_to '[+]', new_city_path
      
    - @cities.each do |city|
      .col-xs-3
        .panel.panel-default
          .row
            .panel-heading
              = link_to city.name, city_path(city)
              = link_to '[~]', edit_city_path(city)
              .cities-meta= "R(#{city.reports.length}) G(#{city.galleries.length}) V(#{city.videos.length}) U(#{city.current_users.length})"
          .row
            %ul
              %li active? #{city.is_active}
              %li n venues: #{city.venues.count}
          .row
            - 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

44 entries across 44 versions & 1 rubygems

Version Path
ish_manager-0.1.8.211 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.210 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.209 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.208 app/views/ish_manager/cities/index.haml