We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a478a03 commit 362f450Copy full SHA for 362f450
src/api/view/index.php
@@ -1,3 +1,6 @@
1
+<?php
2
+ use SyntaxTreeApi\Model\ParseSyntaxCommandFactory;
3
+?>
4
<!DOCTYPE html>
5
<html lang="en">
6
@@ -55,8 +58,8 @@
55
58
<div class="col-md-2">
56
59
<div class="form-group">
57
60
<select class="form-control" id="system" name="system">
- <option>TensorFlow</option>
- <option>MaltParser</option>
61
+ <option <?php echo $system === ParseSyntaxCommandFactory::SYSTEM_TENSOR_FLOW ? 'selected="selected"' : ''; ?>>TensorFlow</option>
62
+ <option <?php echo $system === ParseSyntaxCommandFactory::SYSTEM_MALT_PARSER ? 'selected="selected"' : ''; ?>>MaltParser</option>
63
</select>
64
</div>
65
0 commit comments