commit c34d315930c845d8a651e4f953eee6d2f46a06ca parent 0c5ec64e2a84dfe35902ed2f17b96b590811cafd Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Wed, 1 May 2024 16:03:30 +0200 replace radio with selection Diffstat:
M | create_repo/index.php | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/create_repo/index.php b/create_repo/index.php @@ -81,11 +81,11 @@ $repo_owner = preg_replace( <input type="text" id="description" name="description" maxlength="100" placeholder="This project is about..."><br> <label for="owner" >Repository Owner</label><br> <input type="text" id="owner" name="owner"maxlength="30"placeholder="Me"><br> - <span>Repository Type</span><br> - <input type="radio" id="priv" name="type"> - <label for="priv">Private</label><br> - <input type="radio" id="pub" name="type"> - <label for="pub">Public</label><br> + <label for="type">Repository Type</label><br> + <select name="type" required> + <option value="priv" selected>Private</option> + <option value="pub">Public</option> + </select><br> <input type="submit" value="Submit"> </form> </div>