CKAN 资源表单 html "Description" 字段,how/where 我可以将其他字段更改为与描述相同的大小吗?

CKAN Resource form html "Description" field, how/where can I change other fields to be the same size as description?

我对 CKAN 和任何一种前端都很陌生。我一直在搜索多个 html/css 文件,但找不到可以更改资源表单中字段大小的位置。 (它是用户可以从 GUI 更改元数据的地方)

我想将我制作的额外字段更改为与描述字段相同的大小。是否有人熟悉 CKAN 并且知道我可以在哪里执行此操作的文件名?

资源字段所在的文件名在ckan/templates/package/snippets/resource_form.html内。 您可以在此处添加自己的 html 标签或使用 macros 之一。 例如

{{ form.textarea('desc', id='field-description', label=_('Description'), value=data.desc, error=errors.desc, classes=['your-class') }}

在 类 标签内,您可以添加 类 数组以应用于控制组。