mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-31 03:09:06 -04:00
%badge.text-bg-warning was a <badge> element with a colour and no Bootstrap badge styling, so it rendered as plain text. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
8 lines
219 B
Plaintext
8 lines
219 B
Plaintext
- if crop.approved? || can?(:wrangle, Crop)
|
|
= link_to crop do
|
|
%span.chip.crop-chip
|
|
= crop_icon(crop)
|
|
= crop.name
|
|
- unless crop.approved?
|
|
%span.badge.text-bg-warning= crop.approval_status
|