Se rendre au contenu
Menu
Cette question a été signalée
6295 Vues

How can I hide the edit button and display only the create button if the state = 'cancel'


I tried using <form edit  ='false'> and it works then......


I tried <form attrs="{'edit':[('state','in',('done','draft'))]}"> but don't have any effects, it will suppose to visible the edit when the state is done or draft

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
mars 24
17080
1
nov. 22
3340
4
mai 15
3947
1
mars 15
6776
2
avr. 25
6800