Skip to Content
Menu
This question has been flagged
6799 Rodiniai

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
kov. 24
17565
1
lapkr. 22
3765
4
geg. 15
4384
1
kov. 15
7312
2
bal. 25
7441