Admidio/admidio

View on GitHub
adm_themes/simple/templates/modules/profile.new-photo.upload.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.custom-content.tpl' data=$elements['admCurrentProfilePhoto']}
    {include 'sys-template-parts/form.file.tpl' data=$elements['admPhotoUploadFile']}
    <div class="form-alert" style="display: none;">&nbsp;</div>
    {include 'sys-template-parts/form.button.tpl' data=$elements['admButtonUpload']}
</form>