mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-19 23:07:51 -05:00
8 lines
212 B
Plaintext
8 lines
212 B
Plaintext
- if crop.approved? || can?(:wrangle, Crop)
|
|
= link_to crop do
|
|
%span.chip.crop-chip
|
|
= crop_icon(crop)
|
|
= crop.name
|
|
- unless crop.approved?
|
|
%badge.badge-warning= crop.approval_status
|