コンテンツへスキップ
メニュー
この質問にフラグが付けられました
6304 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 24
17090
1
11月 22
3368
4
5月 15
3950
1
3月 15
6784
2
4月 25
6833