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

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
17263
1
нояб. 22
3514
4
мая 15
4088
1
мар. 15
6942
2
апр. 25
7075