##// END OF EJS Templates
Adds the date picker for the default value of date custom fields....
Jean-Philippe Lang -
r11168:b5c2ca56666e
parent child
Show More
@@ -32,6 +32,9
32 32 <p><%= f.check_box(:default_value) %></p>
33 33 <% when 'text' %>
34 34 <p><%= f.text_area(:default_value, :rows => 8) %></p>
35 <% when 'date' %>
36 <p><%= f.text_field(:default_value, :size => 10) %></p>
37 <%= calendar_for('custom_field_default_value') %>
35 38 <% when 'user', 'version' %>
36 39 <% else %>
37 40 <p><%= f.text_field(:default_value) %></p>
@@ -92,3 +95,5 when "IssueCustomField" %>
92 95 <% end %>
93 96 <%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
94 97 </div>
98
99 <% include_calendar_headers_tags %>
General Comments 0
You need to be logged in to leave comments. Login now