开发者

symfony: using generator.yml, is there any way to hide the fields of the i18n forms in the admin?

using generator.yml, is there any way to hide the fiel开发者_StackOverflow中文版ds of the i18n forms in the admin?

Javi


In the form object try the useFields method

$this->useFields(array("field", "names", "you", "want", "to", "edit"));

In generator.yml

In the form section, or the fields/edit/new section. (Take your pick)

display: [field, names, you, want, to, edit]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜