跳至內容
選單
此問題已被標幟
1 回覆
8529 瀏覽次數

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
1870
0
6月 24
155
2
8月 19
9877
1
5月 16
6693
0
6月 20
4651