diff options
Diffstat (limited to 'pydis_site/apps')
-rw-r--r-- | pydis_site/apps/home/templatetags/wiki_extra.py | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/pydis_site/apps/home/templatetags/wiki_extra.py b/pydis_site/apps/home/templatetags/wiki_extra.py index 58612cc8..16539ded 100644 --- a/pydis_site/apps/home/templatetags/wiki_extra.py +++ b/pydis_site/apps/home/templatetags/wiki_extra.py @@ -19,34 +19,34 @@ TEMPLATE_PATH = "wiki/forms/fields/{0}.html" TEMPLATES = { BooleanField: TEMPLATE_PATH.format("boolean"), CharField: TEMPLATE_PATH.format("char"), - ChoiceField: TEMPLATE_PATH.format("choice"), - TypedChoiceField: TEMPLATE_PATH.format("typed_choice"), - DateField: TEMPLATE_PATH.format("date"), - DateTimeField: TEMPLATE_PATH.format("date_time"), - DecimalField: TEMPLATE_PATH.format("decimal"), - DurationField: TEMPLATE_PATH.format("duration"), - EmailField: TEMPLATE_PATH.format("email"), - FileField: TEMPLATE_PATH.format("file"), - FilePathField: TEMPLATE_PATH.format("file_path"), - FloatField: TEMPLATE_PATH.format("float"), + ChoiceField: TEMPLATE_PATH.format("in_place_render"), + TypedChoiceField: TEMPLATE_PATH.format("in_place_render"), + DateField: TEMPLATE_PATH.format("in_place_render"), + DateTimeField: TEMPLATE_PATH.format("in_place_render"), + DecimalField: TEMPLATE_PATH.format("in_place_render"), + DurationField: TEMPLATE_PATH.format("in_place_render"), + EmailField: TEMPLATE_PATH.format("in_place_render"), + FileField: TEMPLATE_PATH.format("in_place_render"), + FilePathField: TEMPLATE_PATH.format("in_place_render"), + FloatField: TEMPLATE_PATH.format("in_place_render"), ImageField: TEMPLATE_PATH.format("image"), - IntegerField: TEMPLATE_PATH.format("integer"), - GenericIPAddressField: TEMPLATE_PATH.format("generic_ip_address"), - MultipleChoiceField: TEMPLATE_PATH.format("multiple_choice"), - TypedMultipleChoiceField: TEMPLATE_PATH.format("typed_multiple_choice"), - NullBooleanField: TEMPLATE_PATH.format("null_boolean"), - RegexField: TEMPLATE_PATH.format("regex"), - SlugField: TEMPLATE_PATH.format("slug"), - TimeField: TEMPLATE_PATH.format("time"), - URLField: TEMPLATE_PATH.format("url"), - UUIDField: TEMPLATE_PATH.format("uuid"), - - ComboField: TEMPLATE_PATH.format("combo"), - MultiValueField: TEMPLATE_PATH.format("multi_value"), - SplitDateTimeField: TEMPLATE_PATH.format("split_date_time"), + IntegerField: TEMPLATE_PATH.format("in_place_render"), + GenericIPAddressField: TEMPLATE_PATH.format("in_place_render"), + MultipleChoiceField: TEMPLATE_PATH.format("in_place_render"), + TypedMultipleChoiceField: TEMPLATE_PATH.format("in_place_render"), + NullBooleanField: TEMPLATE_PATH.format("in_place_render"), + RegexField: TEMPLATE_PATH.format("in_place_render"), + SlugField: TEMPLATE_PATH.format("in_place_render"), + TimeField: TEMPLATE_PATH.format("in_place_render"), + URLField: TEMPLATE_PATH.format("in_place_render"), + UUIDField: TEMPLATE_PATH.format("in_place_render"), + + ComboField: TEMPLATE_PATH.format("in_place_render"), + MultiValueField: TEMPLATE_PATH.format("in_place_render"), + SplitDateTimeField: TEMPLATE_PATH.format("in_place_render"), ModelChoiceField: TEMPLATE_PATH.format("model_choice"), - ModelMultipleChoiceField: TEMPLATE_PATH.format("model_multiple_choice"), + ModelMultipleChoiceField: TEMPLATE_PATH.format("in_place_render"), SettingsModelChoiceField: TEMPLATE_PATH.format("model_choice"), WikiSlugField: TEMPLATE_PATH.format("wiki_slug_render"), |