Skip to Content
मेन्यू
This question has been flagged
6456 Views

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
Discard
Related Posts Replies Views Activity
2
मार्च 24
17224
1
नव॰ 22
3487
4
मई 15
4062
1
मार्च 15
6910
2
अप्रैल 25
7020