. One is using the alias filter, the other plain double-bracket rendering :
<a href="{{'badge_review_single_delete','id='.@claim.id | alias }}">Delete</a>
<input type="hidden" name="id" value="{{ @claim.id}}">
The second line renders correctly the Claim ID value, but the first line just echoes
i don't understand why the issue happens within the same template file. I've checked the alias filter syntaxe as per the documentation and it seems fine to me.
What am I doing wrong ?
The only suspect I see is the convoluted way the template is built :
the Controller
$f3->set('claims', $claims);
$f3->set('content', 'badgeClaim/list.htm');
$f3->set('ui', 'badgeClaim/list-loop.htm');
$view = new \Template();
echo $view->render('layout.htm');
The View is Layout.html rendering @content, which <include href="@ui">, which <include href="edit.htm"/>.