mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Change date fields to actual date fields #278
This commit is contained in:
		| @@ -0,0 +1,13 @@ | ||||
| {% extends 'admin/change_form.html' %} | ||||
|  | ||||
|  | ||||
| {% block footer %} | ||||
|  | ||||
| 	{{ block.super }} | ||||
|  | ||||
| 	{# Hack to force Django to make the created date a date input rather than `text` (the default) #} | ||||
| 	<script> | ||||
| 		django.jQuery(".field-created input").first().attr("type", "date") | ||||
| 	</script> | ||||
|  | ||||
| {% endblock footer %} | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Quinn
					Daniel Quinn