mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-04 12:36:07 +01:00
Change date fields to actual date fields #278
This commit is contained in:
parent
b58188f805
commit
6fe37678f2
1 changed files with 13 additions and 0 deletions
|
|
@ -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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue