Commit e48fdf9d17b995ed05a7a3e7cb8302c0fc112d11
1 parent
e3818081
Its often important to have an "important description" appended (with
usage info, etc. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5918 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
templates/ktcore/forms/widgets/base.smarty
| 1 | 1 | <div class="field {if ($has_errors)}error{/if}"> |
| 2 | 2 | <label for="{$name}">{$label}{if ($required === true)}<span class="required">({i18n}Required{/i18n})</span>{/if}</label> |
| 3 | - <p class="descriptiveText">{$description}</p> | |
| 3 | + {if ($description)}<p class="descriptiveText">{$description}</p>{/if} | |
| 4 | + {if ($options.important_description)}<p class="descriptiveText important">{$options.important_description}</p>{/if} | |
| 4 | 5 | {if ($has_errors)} |
| 5 | 6 | {foreach item=sError from=$errors} |
| 6 | 7 | <p class="errorMessage"> | ... | ... |