## {i18n arg_field_name=$field_name}Manage Lookups for "#field_name#"{/i18n}

{i18n}Manage Lookups{/i18n}

{i18n}Over time, the lookup values which make sense will change and evolve as your organisation does. You may thus need to change the lookup values associated with a given field. There are a number of different states that are possible for a given lookup{/i18n}:

- {i18n}Enabled, which means that users can specify this as an option when editing or creating documents.{/i18n}
- {i18n}Sticky, which is used if you have some external plugin controlling this lookup set. This will then tell that plugin not to remove the "sticky" value, even if it no longer available in the remote source.{/i18n}
- {i18n}Deleted, which completely removes the selected items from the lookup. Note that this may not be possible if some other aspect of the system depends on a particular lookup.{/i18n}

{foreach from=$args item=v key=k} {/foreach}

| {i18n}Lookup Value{/i18n} | {i18n}Enabled{/i18n} | {i18n}Sticky{/i18n} | {i18n}Edit{/i18n}
--- | --- | --- | --- | ---
{foreach from=$lookups item=oLookup} {assign var='id' value=$oLookup->getId()}
| {$oLookup->getName()} | {if (!$oLookup->getDisabled())}{i18n}Yes{/i18n}{else}{i18n}No{/i18n}{/if} | {if ($oLookup->getIsStuck())}{i18n}Yes{/i18n}{else} {/if} | {i18n}Edit value{/i18n}
{/foreach}

{i18n}Cancel{/i18n}