Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
8552 Widoki

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".

Awatar
Odrzuć
Najlepsza odpowiedź

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

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

Awatar
Odrzuć
Autor

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?

Autor

I used the view editor available in the developer mode.

Powiązane posty Odpowiedzi Widoki Czynność
1
sie 24
1898
0
cze 24
155
2
sie 19
9887
1
maj 16
6696
0
cze 20
4673