html之select标签

循环select标签

1                 <select name="group_id">
2                     {% for row in group_list %}
3                     <option value={{row.id}}>{{ row.caption }}</option>
4                     {% endfor %}
5                 </select>

 

posted @ 2017-01-05 22:43  李瑞鑫  阅读(277)  评论(0编辑  收藏  举报