Browse Source

fix: 修复render_select_field宏参数错误

SongZihuan 2 năm trước cách đây
mục cha
commit
c3e0e1cb5d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 %}