Files
growstuff/app/views/crops/requested.haml
Brenda Wallace 7b5698f977 👩‍🌾 Import openfarm data (#2177)
* Pull in openfarm icons, photos, info
* Truncating member location
* tidying up harvest display, and reducing duplication in css styles
* Tiny crop chip
* only show crop charts if there is data to show
* Make the styles more Growstuff
* Fixed links to openfarm
* Updating specs to cope with new photo sources
fix broken garden timeline on some pages
* Update homepage blurb
* Import crop companions
* More fluid page
* use thumbnail unless the source is flickr
* Messing with homepage
* Added crop growing_degree_days
* expect full size url on photos helper spec
* formatted dates from seeds#show
* tidy up places#show
* Move progress bar
* Quicker buttons for approve/reject crops
* Remove kaminari gem
* use crop cards on hierarchy page
* more crops on crops#index
* Wrap photo creation in transaction
* Wrap crop companions in a transaction
2019-09-28 17:23:25 +12:00

15 lines
344 B
Plaintext

- content_for :title, t('crops.requested.title')
- content_for :subtitle, t('crops.requested.subtitle', crops_size: @crops.size)
%p Crops you have requested
.pagination
= will_paginate @requested
.index-cards
- @requested.each do |crop|
= render partial: "thumbnail", locals: { crop: crop }
.pagination
= will_paginate @requested