From 469bf2e04736bf01749c0b10f9335d46a7c67a02 Mon Sep 17 00:00:00 2001 From: yixinnb <1667511790@qq.com> Date: Sat, 1 Mar 2025 14:28:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/issue=5Ftemplate.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/issue_template.yaml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.gitea/issue_template.yaml b/.gitea/issue_template.yaml index 48c32f6..b5d5cdc 100644 --- a/.gitea/issue_template.yaml +++ b/.gitea/issue_template.yaml @@ -1,4 +1,3 @@ ---- name: "Student Information Template" about: "This template is for collecting student information." title: "[join] 请勿修改此输入框内任何内容" @@ -8,7 +7,7 @@ body: attributes: label: "姓名" description: | - - 2-10 个中文字符 或 4-20 个英文字符 + 2-10 个中文字符 或 4-20 个英文字符 placeholder: "例如:张三 或 JohnDoe" validations: required: true @@ -18,22 +17,19 @@ body: attributes: label: "学号" description: | - - 12位纯数字 + 12位纯数字 placeholder: "例如:202100010001" validations: required: true regex: ^\d{12}$ ---- + - type: dropdown + id: version + attributes: + label: 课程选择 + description: 选一个课程 + options: + - 测试 + validations: + required: true -### 输入规则 -1. **姓名**: - - 2-10 个中文字符 **或** 4-20 个英文字符。 - - 前后均不能包含空格。 -2. **学号**: - - 必须为 12 位数字。 - - 不能包含空格或其他字符。 - -### 注意事项 -- 请确保填写的信息符合规则,否则 Issue 可能会被关闭。 -- 提交后,管理员会检查输入是否符合要求。 \ No newline at end of file