commit 3c7bc6eb09e59d74a4e1eaa64d33a10a51de692e parent 715c3a25cc7d0d5f904c16a0a4b20fadd4acefd2 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Wed, 1 May 2024 16:22:37 +0200 make all fields required Diffstat:
M | create_repo/index.php | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/create_repo/index.php b/create_repo/index.php @@ -77,11 +77,11 @@ $repo_owner = preg_replace( <form method="GET"> <label for="name">Repository Name</label><br> - <input type="text" id="name" name="name" maxlength="30" placeholder="my_new_project" default=<?php echo "\"" . $repo_name . "\""; ?>required><br> + <input type="text" id="name" name="name" maxlength="30" placeholder="my_new_project" default=<?php echo "\"" . $repo_name . "\""; ?> required><br> <label for="description">Repository Description</label><br> - <input type="text" id="description" name="description" maxlength="100" placeholder="This project is about..." default=<?php echo "\"" . $repo_desc . "\""; ?>><br> + <input type="text" id="description" name="description" maxlength="100" placeholder="This project is about..." default=<?php echo "\"" . $repo_desc . "\""; ?> required><br> <label for="owner" >Repository Owner</label><br> - <input type="text" id="owner" name="owner"maxlength="30"placeholder="Me" default=<?php echo "\"" . $repo_owner . "\""; ?>><br> + <input type="text" id="owner" name="owner"maxlength="30"placeholder="Me" default=<?php echo "\"" . $repo_owner . "\""; ?> required><br> <label for="type">Repository Type</label><br> <select name="type" required> <option value="priv" selected>Private</option>