[% c.loc('Size Limit:') %] [% c.config.upload.max_size %] K [% IF c.form.error('upload') %]
[% IF c.form.error('upload', 'EXCEED_MAX_SIZE') %] Your Attachment is larger than [% c.config.upload.max_size %]. [% ELSIF c.form.error('upload', 'UNSUPPORTED_FILETYPE') %] Your Attachment filetype is not supported yet. [% ELSE %] Unknown reason. [% END %]
[% END %]