create_bpbot.html

 1   <@box>
 2   	<@boxHeader title='#i18n{botpress.create_bpbot.title}' />
 3   	<@boxBody>
 4       <@tform name='create_bpbot' action='jsp/admin/plugins/botpress/ManageBPBots.jsp'>
 5   
 6           <@messages errors=errors />
 7           <input type="hidden" id="id" name="id"/>
 8           
 9   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelBotKey}' helpKey='#i18n{botpress.create_bpbot.labelBotKey.help}' mandatory=true>
 10   					<@input type='text' name='bot_key' value='${bpbot.botKey!\'\'}' />
 11   				</@formGroup>
 12   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelBotPressKey}' helpKey='#i18n{botpress.create_bpbot.labelBotPressKey.help}' mandatory=true>
 13   					<@input type='text' name='bot_press_key' value='${bpbot.botPressKey!\'\'}' />
 14   				</@formGroup>
 15   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelName}' helpKey='#i18n{botpress.create_bpbot.labelName.help}' mandatory=true>
 16   					<@input type='text' name='name' value='${bpbot.name!\'\'}' />
 17   				</@formGroup>
 18   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelDescription}' helpKey='#i18n{botpress.create_bpbot.labelDescription.help}' mandatory=true>
 19   					<@input type='text' name='description' value='${bpbot.description!\'\'}' />
 20   				</@formGroup>
 21   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelServerUrl}' helpKey='#i18n{botpress.create_bpbot.labelServerUrl.help}' mandatory=true>
 22   					<@input type='text' name='server_url' value='${bpbot.serverUrl!\'\'}' />
 23   				</@formGroup>
 24   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelApiVersion}' helpKey='#i18n{botpress.create_bpbot.labelApiVersion.help}' >
 25   					<@select name='api_version' items=versions_list default_value='${bpbot.apiVersion!\'\'}' />
 26   				</@formGroup>
 27   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelAvatarUrl}' helpKey='#i18n{botpress.create_bpbot.labelAvatarUrl.help}' mandatory=true>
 28   					<@input type='text' name='avatar_url' value='${bpbot.avatarUrl!\'\'}' />
 29   				</@formGroup>
 30   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelAvatarRenderer}' helpKey='#i18n{botpress.create_bpbot.labelAvatarRenderer.help}' mandatory=true>
 31   					 <@select name='avatar_renderer_key' items=avatar_renderers_list default_value='${bpbot.avatarRendererKey!\'\'}' />
 32   				</@formGroup>
 33   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelLanguage}' helpKey='#i18n{botpress.create_bpbot.labelLanguage.help}' mandatory=true>
 34   					 <@select name='language' items=languages_list default_value='${bpbot.language!\'\'}' />
 35   				</@formGroup>
 36   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelBotStatus}' helpKey='#i18n{botpress.create_bpbot.labelBotStatus.help}' mandatory=true>
 37   					<@select name='bot_status' items=status_list default_value='${bpbot.botStatus}' />
 38   				</@formGroup>
 39   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelIsStandalone}' helpKey='#i18n{botpress.create_bpbot.labelIsStandalone.help}' mandatory=true>
 40   					<@select name='standalone' items=modes_list default_value='${bpbot.isStandalone}' />
 41   				</@formGroup>
 42   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelWelcomeMessage}' helpKey='#i18n{botpress.create_bpbot.labelWelcomeMessage.help}' >
 43   					<@input type='text' name='welcome_message' value='${bpbot.welcomeMessage!\'\'}' />
 44   				</@formGroup>
 45   				<@formGroup labelKey='#i18n{botpress.create_bpbot.labelErrorMessage}' helpKey='#i18n{botpress.create_bpbot.labelErrorMessage.help}' >
 46   					<@input type='text' name='error_message' value='${bpbot.errorMessage!\'\'}' />
 47   				</@formGroup>
 48   				
 49   				<@actionButtons button1Name="action_createBPBot" button2Name="view_manageBPBot"/>
 50       </@tform>
 51   	</@boxBody>
 52   </@box>