I am trying with:
{{=A('Delete Role', _class="btn btn-danger", _id="del_role_tutor",
callback=URL('test'), target=":eval")}}
and in my controller:
def test():
return "Hello"
or
def test():
return dict()
but nothing happens. Why is this??
On Monday, December 10, 2012 9:15:30 PM UTC, Daniele wrote:
>
> When I use form.add_button() I am able to add a button to a form, which I
> can display with {{=form}} in my view.
>
> However, if I'm making a custom form using form.custom, how can I display
> that button??
>
> Thanks
>
--