{%- extends "_layout_creatupdate.html" %} {%- block itemform_fields %} {%- if item_action == 'create' or current_user.has_role('admin') %} {{ macros_form.render_form_item_default(form.name) }} {%- elif item_action == 'update' %} {{ macros_form.render_form_item_static(_('Name:'), item.name) }} {%- endif %} {{ macros_form.render_form_item_default(form.description) }} {%- if form.local_id and (permission_can('admin') or permission_can('maintainer')) %} {{ macros_form.render_form_item_default(form.local_id) }} {%- endif %}