ciyidogan commited on
Commit
f4edbe7
·
verified ·
1 Parent(s): a6f2ae8

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +18 -1
static/index.html CHANGED
@@ -175,7 +175,24 @@
175
  </div>
176
  <div class="form-group">
177
  <label for="intent-parameters">Parameters (JSON array)</label>
178
- <textarea id="intent-parameters" class="form-control" placeholder='[{"name": "currency", "type": "string"}]'></textarea>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  </div>
180
  </div>
181
  <div class="modal-footer">
 
175
  </div>
176
  <div class="form-group">
177
  <label for="intent-parameters">Parameters (JSON array)</label>
178
+ <div class="form-group">
179
+ <label>Parameters</label>
180
+ <button class="btn btn-sm btn-success ml-2" onclick="addParameterRow()">+ Add Parameter</button>
181
+ <table class="table table-sm mt-2">
182
+ <thead>
183
+ <tr>
184
+ <th>Name</th>
185
+ <th>Type</th>
186
+ <th>Regex</th>
187
+ <th>Validation Message</th>
188
+ <th>Actions</th>
189
+ </tr>
190
+ </thead>
191
+ <tbody id="parameter-body">
192
+ <!-- parameter rows -->
193
+ </tbody>
194
+ </table>
195
+ </div>
196
  </div>
197
  </div>
198
  <div class="modal-footer">