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.231 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.230 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.229 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.228 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.227 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.226 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.225 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.224 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.223 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.222 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.221 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.220 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.219 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.218 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.217 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.216 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.215 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.214 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.213 app/views/ish_manager/cities/index.haml
ish_manager-0.1.8.212 app/views/ish_manager/cities/index.haml