{% import 'macros_form.html' as form without context %} {% call form.segment(title=name) %} {% call form.box(table=True) %} {% call form.tablefield(label=trans('label_class'), type='content') %} {% if is_faked %}{{ form.err(htmlstr('Faked %s') % klass) }}{% endif %} {% if not is_faked %}{{ klass }} {% endif %} {% endcall %} {% call form.tablefield(label=event_title, type='content') %} {{ events }} {% endcall %} {% endcall %} {% call form.box(table=False, title=trans('label_dictionary')) %} {{ dictionary }} {% endcall %} {%if editable is defined %}{% call form.box(table=False, title=trans('label_command')) %} {{ form.singlefield(extra=' rows="15" style="font-family:monospace;"', name='command', type='textarea', value=command) }} {% endcall %}{% endif %} {% endcall %}