{#RUBRIK_FIELDS_TEMPLATES_H2#}
{#RUBRIC_TABLE_BTN_FIELDS#} {#RUBRIC_TABLE_BTN_FGROUPS#} {#RUBRIC_TABLE_BTN_TEMPLATES#} {if check_permission('rubric_code')} {#RUBRIC_TABLE_BTN_CODE#} {/if} {#RUBRIC_TABLE_BTN_RULES#}
{foreach from=$rubrics item=rubric}
{$main.name} ({$main.id})
{foreach from=$rubric.fields item=field} {/foreach}
Id {#RUBRIK_FIELDS_TEMPLATES_FNAME#} {#RUBRIK_FIELDS_TEMPLATES_FTEMPL#} {#RUBRIK_FIELDS_TEMPLATES_DB#}
{#RUBRIK_FIELDS_TEMPLATES_PANEL#} {#RUBRIK_FIELDS_TEMPLATES_DOC#} {#RUBRIK_FIELDS_TEMPLATES_REQ#}
{$field.id} {$field.title} {if $field.adm_main} {if $field.adm_tpl} {#RUBRIC_TMPLS_EDIT#}
{#RUBRIC_TMPLS_DELETE#} {else} {#RUBRIC_TMPLS_CREAT#} {/if} {else} {#RUBRIK_FIELDS_NO_TEMPLATES#} {/if}
{if $field.doc_main} {if $field.doc_tpl} {#RUBRIC_TMPLS_EDIT#}
{#RUBRIC_TMPLS_DELETE#} {else} {#RUBRIC_TMPLS_CREAT#} {/if} {else} {#RUBRIK_FIELDS_NO_TEMPLATES#} {/if}
{if $field.req_main} {if $field.req_tpl} {#RUBRIC_TMPLS_EDIT#}
{#RUBRIC_TMPLS_DELETE#} {else} {#RUBRIC_TMPLS_CREAT#} {/if} {else} {#RUBRIK_FIELDS_NO_TEMPLATES#} {/if}
{/foreach} {include file="$codemirror_connect"}