Sha256: a0552eaa741dc14fd1b602140f8a68cc028e08924e52827f80ed9b8a044f830d

Contents?: true

Size: 622 Bytes

Versions: 3

Compression:

Stored size: 622 Bytes

Contents

.markers--index
  - markers.each do |marker|
    .Card
      - if marker.title_image
        = image_tag marker.title_image.image.url(:thumb)
      - else
        = image_missing_tag
      .flex-row
        .a= marker.destination&.name
        .a= button_to '~', edit_marker_path(marker), method: :get
        .a= button_to 'x', marker_path(marker), method: :delete, data: { confirm: 'Are you sure?' }
      .flex-row
        .a= link_to '[api]', api_marker_path(marker)
        .a= link_to '[this map]', edit_map_path(marker.destination.slug)
    .hide
      %ul.bullets
        %li <b>item_type:</b> #{marker.item_type}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ish_manager-0.1.8.318 app/views/ish_manager/markers/_index.haml
ish_manager-0.1.8.317 app/views/ish_manager/markers/_index.haml
ish_manager-0.1.8.316 app/views/ish_manager/markers/_index.haml