Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
6293 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
bře 24
17059
1
lis 22
3329
4
kvě 15
3943
1
bře 15
6771
2
dub 25
6793