From 1ce95dbaf448c287b2d9abd02410e75b296b1465 Mon Sep 17 00:00:00 2001 From: Ryan McLeod Date: Thu, 4 Dec 2014 14:06:53 -0800 Subject: [PATCH 1/3] Fix "Create Guide" button on Crop page --- app/views/crops/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/crops/show.html.erb b/app/views/crops/show.html.erb index 3776e8975..a2e679020 100644 --- a/app/views/crops/show.html.erb +++ b/app/views/crops/show.html.erb @@ -44,6 +44,6 @@

Guides for this crop

<%= "no guides yet :(" if @guides.empty? %> <%= render partial: '/guides/guide_results_list', object: @guides %> - + <%= button_to "Create a guide!", new_guide_path, method:'get', class:"button expand" %> From 45985a529d96fb51b6becbb09c3bec9f1ef74888 Mon Sep 17 00:00:00 2001 From: Ryan McLeod Date: Thu, 4 Dec 2014 14:07:06 -0800 Subject: [PATCH 2/3] Fix bad variable accessor --- app/views/guides/_guide_result.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/guides/_guide_result.html.erb b/app/views/guides/_guide_result.html.erb index 83ee0c0db..dfeef5450 100644 --- a/app/views/guides/_guide_result.html.erb +++ b/app/views/guides/_guide_result.html.erb @@ -1,5 +1,5 @@ <%= link_to guide do %> -
  • +
  • <%= guide.name %>

    From 7879cae47bd4662c876d29c7b11274a98a479897 Mon Sep 17 00:00:00 2001 From: Ryan McLeod Date: Thu, 4 Dec 2014 14:55:04 -0800 Subject: [PATCH 3/3] add min-height to home hero --- app/assets/stylesheets/styles/pages/_home.css.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/styles/pages/_home.css.scss b/app/assets/stylesheets/styles/pages/_home.css.scss index d504c6b85..cf40cc69e 100644 --- a/app/assets/stylesheets/styles/pages/_home.css.scss +++ b/app/assets/stylesheets/styles/pages/_home.css.scss @@ -59,6 +59,7 @@ video { display: block; } .hero { position: relative; max-width: initial; + min-height: 500px; height: inherit; .logo {