Admidio/admidio

View on GitHub
adm_themes/simple/templates/modules/announcements.edit.tpl

Summary

Maintainability
Test Coverage
<form {foreach $attributes as $attribute}
        {$attribute@key}="{$attribute}"
    {/foreach}>
    <div class="admidio-form-required-notice"><span>{$l10n->get('SYS_REQUIRED_INPUT')}</span></div>

    {include 'sys-template-parts/form.input.tpl' data=$elements['admidio-csrf-token']}
    {include 'sys-template-parts/form.input.tpl' data=$elements['ann_headline']}
    {include 'sys-template-parts/form.select.tpl' data=$elements['ann_cat_id']}
    {include 'sys-template-parts/form.editor.tpl' data=$elements['ann_description']}
    <div class="form-alert" style="display: none;">&nbsp;</div>
    {include 'sys-template-parts/form.button.tpl' data=$elements['btn_save']}
    {include file="sys-template-parts/system.info-create-edit.tpl"}
</form>