diff options
Diffstat (limited to 'django/contrib/admin/templates/widget/file.html')
| -rw-r--r-- | django/contrib/admin/templates/widget/file.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/django/contrib/admin/templates/widget/file.html b/django/contrib/admin/templates/widget/file.html new file mode 100644 index 0000000000..f81534b474 --- /dev/null +++ b/django/contrib/admin/templates/widget/file.html @@ -0,0 +1,4 @@ +{% if bound_field.original_value %} +Currently: <a href="{{ bound_field.original_url }}" > {{ bound_field.original_value }} </a><br /> +Change: {% output_all bound_field.form_fields %} +{% else %} {% output_all bound_field.form_fields %} {% endif %} |
