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

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
17809
1
11月 22
3992
4
5月 15
4586
1
3月 15
7491
2
4月 25
7726