diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-15 10:45:34 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-15 10:45:34 +0000 |
commit | b5c2ca56666e79ea642df8c6e790cc60de44ccfa (patch) | |
tree | 2e91f6dcec03a1f5515d023d22ae2406069e766b /app/views/custom_fields | |
parent | 3277d59e5c00ead6a930ca452903f87815e2cea3 (diff) | |
download | redmine-b5c2ca56666e79ea642df8c6e790cc60de44ccfa.tar.gz redmine-b5c2ca56666e79ea642df8c6e790cc60de44ccfa.zip |
Adds the date picker for the default value of date custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11398 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r-- | app/views/custom_fields/_form.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb index 1157ab9fc..b6f7ddb1d 100644 --- a/app/views/custom_fields/_form.html.erb +++ b/app/views/custom_fields/_form.html.erb @@ -32,6 +32,9 @@ <p><%= f.check_box(:default_value) %></p> <% when 'text' %> <p><%= f.text_area(:default_value, :rows => 8) %></p> +<% when 'date' %> + <p><%= f.text_field(:default_value, :size => 10) %></p> + <%= calendar_for('custom_field_default_value') %> <% when 'user', 'version' %> <% else %> <p><%= f.text_field(:default_value) %></p> @@ -92,3 +95,5 @@ when "IssueCustomField" %> <% end %> <%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %> </div> + +<% include_calendar_headers_tags %> |