core&ui: handle contest status display

This commit is contained in:
undefined committed 2022-06-03 02:58:27 +08:00
1 parent 069f420310
commit 78b1141a02
12 files changed
+29 -31

No files matched your search

@@ -53,11 +53,13 @@
{% set extra_attr = args.extra_attr %}
{% set date = args.date or false %}
{% set time = args.time or false %}
{% set datetime = args.datetime or false %}
class="{{ form_class }}{% if extra_class %} {{ extra_class }}{% endif %}"
{% if disabled %}disabled{% endif %}
{% if required %}required{% endif %}
{% if autofocus %}autofocus data-autofocus{% endif %}
{% if noAutocomplete %}autocomplete="off"{% endif %}
{% if datetime %}data-pick-datetime{% endif %}
{% if date %}data-pick-date{% endif %}
{% if time %}data-pick-time{% endif %}
{% if extra_attr %}{{ extra_attr }}{% endif %}