Skip to Content
Menu
This question has been flagged
6345 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
mar 24
17144
1
nov 22
3413
4
máj 15
3992
1
mar 15
6820
2
apr 25
6880