Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
8532 Vues

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

Avatar
Ignorer
Meilleure réponse

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

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

Avatar
Ignorer
Auteur

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?

Auteur

I used the view editor available in the developer mode.

Publications associées Réponses Vues Activité
1
août 24
1870
0
juin 24
155
2
août 19
9877
1
mai 16
6693
0
juin 20
4651