Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
6361 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мар. 24
17159
1
нояб. 22
3419
4
мая 15
4000
1
мар. 15
6829
2
апр. 25
6889