diff --git a/bookwyrm/templates/widgets/clearable_file_input_with_warning.html b/bookwyrm/templates/widgets/clearable_file_input_with_warning.html index e4906cb9..6370ba39 100644 --- a/bookwyrm/templates/widgets/clearable_file_input_with_warning.html +++ b/bookwyrm/templates/widgets/clearable_file_input_with_warning.html @@ -2,23 +2,30 @@ {% load utilities %} {% if widget.is_initial %} -
- {{ widget.initial_text }}: - {{ widget.value|truncatepath:10 }} -
-{% if not widget.required %} -- +
+ {% endif %} + {% endif %} - - {% trans "File exceeds maximum size: 10MB" %} + ++ {% if widget.is_initial %} + {{ widget.input_text }}: + {% endif %} + + + + {% trans "File exceeds maximum size: 10MB" %} +