Files
growstuff/app/views/crops/_tiny.html.haml
Brenda Wallace b0c8b11246 📝 Inline editing and display tidy ups (#2200)
* Inline editing and display tidy ups
2019-10-08 11:06:53 +13:00

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