| | |
| | | |
| | | return ( |
| | | <div className='mt-2'> |
| | | <div className='space-y-4 px-4 pb-4'> |
| | | <div className='px-4 pb-4 space-y-4'> |
| | | |
| | | <Field |
| | | title={t(`${i18nPrefix}.inputVars`)} |
| | |
| | | headerRight={ |
| | | <div className='flex items-center'> |
| | | <a |
| | | className='flex h-[18px] items-center space-x-0.5 text-xs font-normal text-text-tertiary' |
| | | className='flex items-center space-x-0.5 h-[18px] text-xs font-normal text-gray-500' |
| | | href="https://jinja.palletsprojects.com/en/3.1.x/templates/" |
| | | target='_blank'> |
| | | <span>{t(`${i18nPrefix}.codeSupportTip`)}</span> |
| | | <RiQuestionLine className='h-3 w-3' /> |
| | | <RiQuestionLine className='w-3 h-3' /> |
| | | </a> |
| | | <div className='mx-1.5 h-3 w-px bg-divider-regular'></div> |
| | | <div className='mx-1.5 w-px h-3 bg-gray-200'></div> |
| | | </div> |
| | | } |
| | | value={inputs.template} |