How do I format this template link?

I have my form action:

Code:

<xf:form action="{{ link('newbattle/cpanel/save', $newbattle) }}" upload="true" ajax="true" class="block">

My url is like this: newbattle/cpanel/r/24496/add. Since the form is linking to newbattle/cpanel/save it's not working. How should the link be formatted since I have a dynamic URL?

So I tried to test (I'm not sure how to format with the "/save" at the end either):

Code:

<xf:form action="{{ link('newbattle/cpanel/', null, {'r': $receiver_user_id}...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ