Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Revert changes to widget

Roland Geider9402f922d596
diff --git a/wger/utils/widgets.py b/wger/utils/widgets.py
index 6d6f9b59f..400b98e73 100644
--- a/wger/utils/widgets.py
+++ b/wger/utils/widgets.py
@@ -37,9 +37,9 @@ from django.utils.html import (
from django.utils.safestring import mark_safe
from django.utils.translation import gettext as _
-
logger = logging.getLogger(__name__)
+
#
# Date and time related fields
#
@@ -116,8 +116,10 @@ class ExerciseAjaxSelect(SelectMultiple):
value = []
output = [
- '<div>', '<input type="text" id="exercise-search" class="form-control" required>',
- '</div>', '<div id="exercise-search-log">'
+ '<div>',
+ '<input type="text" id="exercise-search" class="form-control">',
+ '</div>',
+ '<div id="exercise-search-log">'
]
options = self.render_options(choices, value)