forked from microsoft/BotBuilder-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.pug
38 lines (26 loc) · 956 Bytes
/
index.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
extends layout
block content
fieldset
legend LUIS Action Binding
form(method="post")
p
label(for="query") Query:
input(type="text", name="query", id="query", value=query, readOnly=hasIntent)
input(type="hidden", name="actionModel", value=actionModelJson)
if hasIntent
p Please provide the following information:
each field in fields
p
label(for=field.fieldName)
span #{field.fieldName}:
input(type="text", name=field.fieldName, value=field.fieldValue)
if field.fieldError
span(class="error") * #{field.fieldError}
else
p Samples:
ul
li What is the time in Miami?
li Search for 5 stars hotels in Barcelona
li Tell me the weather in Buenos Aires
li Find airport with code PMV
input(type="submit", value="Continue")