コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
8103 ビュー

While editing a project form, I accidentally deleted the <h1> tag from the 'name' field. Now the project name appears as regular text in the form view. I tried using the node type html_tag and got the error message "Can't Update View".

アバター
破棄
最善の回答

Again you can add h1 tab in view.
Add following code.

<h1>
    <field name="name" class="oe_inline" readonly="1"/>
</h1>

アバター
破棄
著作者

Sudhir, how can I add h1 tab in the view? Is there another way besides using view editor? Or if I use view editor, what node type should I use?

How did you edit the view previously?

著作者

I used the view editor available in the developer mode.

関連投稿 返信 ビュー 活動
1
8月 24
1207
0
6月 24
155
2
8月 19
9151
1
5月 16
6245
0
6月 20
4242