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.252 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.251 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.250 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.249 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.248 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.247 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.246 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.245 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.244 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.243 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.242 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.241 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.239 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.238 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.237 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.236 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.235 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.234 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.233 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.232 app/views/ish_manager/cities/index.haml