Skip to Content
Menu
This question has been flagged
6558 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
17300
1
lapkr. 22
3547
4
geg. 15
4141
1
kov. 15
7032
2
bal. 25
7135