mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-06-01 04:38:27 -04:00
* Upgrade boostrap * Remove deprecated bootstrap toggles * Migrate other details * Avoid accidentally including bootstrap twice * Avoid accidentally including bootstrap twice * Avoid accidentally including bootstrap twice * Fix spec * Fix spec, where the size of the screen has gone to a partial breakpoint/you can't click on your own name in tablet view * Fix spec * Cleanup * Cleanup
11 lines
446 B
Plaintext
11 lines
446 B
Plaintext
- cache crop do
|
|
= link_to image_tag(crop_image_path(crop),
|
|
alt: "Image of #{crop.name}", class: 'image-responsive crop-image'),
|
|
crop.name,
|
|
rel: "popover",
|
|
'data-bs-toggle': 'popover',
|
|
'data-bs-trigger': 'hover',
|
|
'data-bs-title': crop.name,
|
|
'data-bs-content': render(partial: 'crops/popover', locals: { crop: crop }),
|
|
'data-bs-html': true
|