From 3a9077050e91f633f87d9a9a8c45b82569e7d627 Mon Sep 17 00:00:00 2001 From: Maccath Date: Sun, 5 Apr 2015 07:36:38 +0000 Subject: [PATCH 1/2] Add placeholder to harvest screen's plant part select box. --- app/views/harvests/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/harvests/_form.html.haml b/app/views/harvests/_form.html.haml index 4aae2540e..21de8e5b6 100644 --- a/app/views/harvests/_form.html.haml +++ b/app/views/harvests/_form.html.haml @@ -11,7 +11,7 @@ .col-md-4 = auto_suggest @harvest, :crop, :class => 'form-control col-md-2', :default => @crop .col-md-4 - = collection_select(:harvest, :plant_part_id, PlantPart.all, :id, :name, { :selected => @harvest.plant_part_id }, { :class => 'form-control' }) + = collection_select(:harvest, :plant_part_id, PlantPart.all, :id, :name, { :selected => @harvest.plant_part_id, :include_blank => 'e.g. fruit' }, { :class => 'form-control' }) %span.help-block.col-md-8 Can't find what you're looking for? = link_to "Request new crops.", new_crop_path From 9304e44c08743a357d7fdf36cc61ffa5034d04e4 Mon Sep 17 00:00:00 2001 From: Katy Ereira Date: Sun, 5 Apr 2015 08:47:00 +0100 Subject: [PATCH 2/2] Add Maccath tnd CjayBillones to contributors list --- CONTRIBUTORS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 9e5d488e4..de96fc4f8 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -58,3 +58,5 @@ submit the change with your pull request. - Mauricio Gonzalez / [mauricio-gonzalez](https://github.com/mauricio-gonzalez) - Andrey Bazhutkin / [andrba](https://github.com/andrba) - Gabriel Sandoval / [gabrielsandoval](https://github.com/gabrielsandoval) +- Cjay Billones / [CjayBillones](https://github.com/CjayBillones) +- Katy Ereira / [maccath](https://github.com/maccath)