summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-05-07 08:05:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-05-07 08:05:43 +0000
commitc418fab8a76b7672c4f341fb7c3e203ae92b50c0 (patch)
tree2f281eaac765994102b577c7a840f6ce6cd19d79 /app/views/custom_fields
parent40ffde62219d348baaecb11d395e2dc6016efe37 (diff)
downloadredmine-c418fab8a76b7672c4f341fb7c3e203ae92b50c0.tar.gz
redmine-c418fab8a76b7672c4f341fb7c3e203ae92b50c0.zip
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
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/formats/_date.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
-<p><%= f.text_field(:default_value, :size => 10) %></p>
+<p><%= f.date_field(:default_value, :value => @custom_field.default_value, :size => 10) %></p>
<%= calendar_for('custom_field_default_value') %>
<p><%= f.text_field :url_pattern, :size => 50, :label => :label_link_values_to %></p>