Hi, I’m trying to style the pagination helper to give me a way out like this:
<div class="col col-fila1">
ID Persona
<a href="/users/index?sort=persona_id&direction=asc" class="enlace" id="enlace">▲</a>
<a href="/users/index?sort=persona_id&direction=desc" class="enlace" id="enlace">▼</a>
</div>
Actually, I have it like this:
<div class="col col-fila1">
ID Persona
<?= $this->Paginator->sort('personal_id','▲', null, ['direction' => 'asc']); ?>
<?= $this->Paginator->sort('personal_id'.'▼', null, ['direction' => 'desc']); ?>
</div>
But it gives me back:
<div class="col col-fila1">
ID Persona
<a href="/users/index?sort=persona_id&direction=asc">▲</a>
<a href="/users/index?sort=persona_id&direction=desc">▼</a>
</div>
How can I identify a class and an ID to the “a” connector?