Sha256: 4f7190a397b60d9213b465315eb8e534db228310a3d5f3e305600cdf1067c136

Contents?: true

Size: 605 Bytes

Versions: 3

Compression:

Stored size: 605 Bytes

Contents


.markers--index.row
  - markers.each do |marker|
    .col-sm-2
      .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) if marker.destination

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ish_manager-0.1.8.322 app/views/ish_manager/markers/_index.haml
ish_manager-0.1.8.321 app/views/ish_manager/markers/_index.haml
ish_manager-0.1.8.320 app/views/ish_manager/markers/_index.haml