From 41e3d426246dc1891cff2f35e6af3c2d9eec321c Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 13 Jan 2018 20:14:26 +0100 Subject: Explicitly set year range when creating new gallery links. --- .../app/views/refinery/gallery_links/admin/gallery_links/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_form.html.erb b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_form.html.erb index ba872b7..b67a350 100644 --- a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_form.html.erb +++ b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/admin/gallery_links/_form.html.erb @@ -5,7 +5,7 @@
<%= f.label :date -%> - <%= f.date_select :date -%> + <%= f.date_select :date, start_year: Date.today.year - 10, end_year: Date.today.year, default: Date.today -%>
-- cgit v1.2.3