Django Book 翻译
菜单>:
TOC
返回
原文:
The quickest way to customize the forms presentation is with CSS. The list of errors in particular could do with some visual enhancement, and the ``
`` has a class attribute of ``errorlist`` for that exact purpose. The following CSS really makes our errors stand out:
翻译:
修改form的显示的最快捷的方式是使用CSS。错误的列表可以做一些视觉上的增强,
标签的class属性为了这个目的。下面的CSS让错误更加醒目了:
备注:
译者: