Skip to content

Commit

Permalink
feat: Fixed errors in latte + deleted unused notes.latte
Browse files Browse the repository at this point in the history
  • Loading branch information
KminekMatej committed Sep 6, 2024
1 parent b66f939 commit 1e191a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 36 deletions.
2 changes: 1 addition & 1 deletion app/module/core/presenter/templates/components/form.latte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
n:if="!$input->getOption(rendered) && $input->getOption(type) !== hidden"
n:class="$input->required ? required">

<th>{label $input}</th>
<th>{label $input /}</th>
<td>{input $input} <span class=error n:ifcontent>{$input->error}</span></td>
</tr>
</table>
Expand Down
34 changes: 0 additions & 34 deletions app/module/core/presenter/templates/components/notes.latte

This file was deleted.

2 changes: 1 addition & 1 deletion app/module/setting/presenter/templates/Event/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
</table>
</div>
<div class="card-footer text-right">
<a n:if="$user->isAllowed($user->getId(), 'SYS:EVE_CREATE')" class="btn btn-lg btn-success" href="{plink :Setting:Event:New}" onclick="btnRotate:$(this), true"" title="{_common.save}" style="margin-right: 10px">
<a n:if="$user->isAllowed($user->getId(), 'SYS:EVE_CREATE')" class="btn btn-lg btn-success" href="{plink :Setting:Event:New}" onclick="btnRotate($(this), true)" title="{_common.save}" style="margin-right: 10px">
<i class="fa fa-plus" aria-hidden="true"></i>
</a>
</div>
Expand Down

0 comments on commit 1e191a3

Please sign in to comment.