Explorar o código

fix: 修复render_select_field宏参数错误

SongZihuan %!s(int64=2) %!d(string=hai) anos
pai
achega
c3e0e1cb5d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/macro.html

+ 1 - 1
templates/macro.html

@@ -22,7 +22,7 @@
     </div>
 {% endmacro %}
 
-{% macro render_select_field(field, height) %}
+{% macro render_select_field(field) %}
     <div class="my-3">
         {{ field(class="form-select", **kwargs) | safe }}
         {% for error in field.errors %}