1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Use the formNotice template

This commit is contained in:
Tim Düsterhus 2021-08-15 12:50:51 +02:00
parent 5e25c22b60
commit e246e77dc4
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
2 changed files with 2 additions and 10 deletions

View File

@ -14,11 +14,7 @@
</nav>
</header>
{include file='formError'}
{if $success|isset}
<p class="success">{lang}wcf.global.success.{$action}{/lang}</p>
{/if}
{include file='formNotice'}
<form method="post" action="{if $action == 'add'}{link application='chat' controller='CommandTriggerAdd'}{/link}{else}{link application='chat' controller='CommandTriggerEdit' id=$triggerID}{/link}{/if}">
<div class="section">

View File

@ -26,11 +26,7 @@
</nav>
</header>
{include file='formError'}
{if $success|isset}
<p class="success">{lang}wcf.global.success.{$action}{/lang}</p>
{/if}
{include file='formNotice'}
<form method="post" action="{if $action == 'add'}{link application='chat' controller='RoomAdd'}{/link}{else}{link application='chat' controller='RoomEdit' id=$roomID}{/link}{/if}">
<div class="section">