From c418fab8a76b7672c4f341fb7c3e203ae92b50c0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 May 2016 08:05:43 +0000 Subject: Use HTML5 date input fields instead of text fields with jquery ui date pickers (#19468). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15375 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/formats/_date.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/custom_fields') diff --git a/app/views/custom_fields/formats/_date.html.erb b/app/views/custom_fields/formats/_date.html.erb index df3ba0789..b52c06310 100644 --- a/app/views/custom_fields/formats/_date.html.erb +++ b/app/views/custom_fields/formats/_date.html.erb @@ -1,3 +1,3 @@ -

<%= f.text_field(:default_value, :size => 10) %>

+

<%= f.date_field(:default_value, :value => @custom_field.default_value, :size => 10) %>

<%= calendar_for('custom_field_default_value') %>

<%= f.text_field :url_pattern, :size => 50, :label => :label_link_values_to %>

-- cgit v1.2.3