Skip to content

Commit fea35bc

Browse files
authored
added required attribute
1 parent ec86809 commit fea35bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<form action="" method="POST">
4242
<div class="form-group">
4343
<label for="cmd">Command</label>
44-
<input type="text" class="form-control" name="cmd" id="cmd" value="<?= $_POST['cmd'] ?>">
44+
<input type="text" class="form-control" name="cmd" id="cmd" value="<?= $_POST['cmd'] ?>" required>
4545
</div>
4646
<button type="submit" class="btn btn-default">Execute</button>
4747
</form>

0 commit comments

Comments
 (0)