Fix asset links

This commit is contained in:
Ryan Prather 2024-12-10 23:00:43 -05:00
parent a93b83e392
commit 885cddf6b1

View File

@ -19,7 +19,7 @@
<h6 class="text-white text-capitalize ps-3">Referral Source List</h6>
</div>
<div>
<button type="button" class="btn btn-block btn-light mb-3" onclick="window.open('/index.php/add-source', '_self')">Add Source</button>
<button type="button" class="btn btn-block btn-light mb-3" onclick="window.open('{{ path('app_add_source') }}', '_self')">Add Source</button>
</div>
</div>
</div>
@ -58,7 +58,7 @@
{{ src.phone }}
</td>
<td class='align-middle'>
<a href='/index.php/edit-source/{{ src.id }}' class='text-secondary font-weight-bold text-xs' data-toggle='tooltip' data-original-title='Edit Source'>Edit</a>
<a href="{{ path('app_edit_source', {id: src.id}) }}" class='text-secondary font-weight-bold text-xs' data-toggle='tooltip' data-original-title='Edit Source'>Edit</a>
</td>
</tr>
{% endfor %}