Skip to Content
Menu
This question has been flagged
6627 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
17364
1
lapkr. 22
3609
4
geg. 15
4191
1
kov. 15
7092
2
bal. 25
7226