From 0fb2540a3359a38a2df7db05b76f6238e0d5ae35 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 24 Mar 2022 10:31:52 +0100 Subject: Improve file widget with bootstrap --- ishtar_common/templates/widgets/clearable_file_input.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ishtar_common/templates/widgets/clearable_file_input.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/widgets/clearable_file_input.html b/ishtar_common/templates/widgets/clearable_file_input.html new file mode 100644 index 000000000..f2721fbfd --- /dev/null +++ b/ishtar_common/templates/widgets/clearable_file_input.html @@ -0,0 +1,8 @@ +{% load i18n %}{% if widget.is_initial %} +

{{ widget.initial_text }}{% trans ":" %} {{ widget.value }}{% if not widget.required %} +  + +{% endif %} +

+

{{ widget.input_text }}{% trans ":" %}

{% endif %} + -- cgit v1.2.3