forked from mirrors/bookwyrm
6e655cb0e0
- Updated default widget to use template that adds a notification box. - Added JS to add onchange & load events to look at the value in the input and trigger the notification & disable the form submits.
3 lines
183 B
HTML
3 lines
183 B
HTML
{% load i18n %}
|
|
{% include "django/forms/widgets/clearable_file_input.html" %}
|
|
<span class="help file-cta is-hidden file-too-big">{% trans "File exceeds maximum size: 10MB" %}</span>
|