aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-06 22:01:08 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-06 22:01:31 +0800
commitfa62d8eae273d89937d65d6a294f028e1ce22d88 (patch)
tree226d5fab65927ef977b664a35e6a2b2f30169440 /templates
parentgroup: Add description field to the create repo form (diff)
downloadforge-fa62d8eae273d89937d65d6a294f028e1ce22d88.tar.gz
forge-fa62d8eae273d89937d65d6a294f028e1ce22d88.tar.zst
forge-fa62d8eae273d89937d65d6a294f028e1ce22d88.zip
group/index: Allow repo creation via web
Diffstat (limited to 'templates')
-rw-r--r--templates/group.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/group.tmpl b/templates/group.tmpl
index ae0892c..5f3f0da 100644
--- a/templates/group.tmpl
+++ b/templates/group.tmpl
@@ -44,6 +44,17 @@
<input id="repo-desc-input" name="repo_desc" type="text" />
</td>
</tr>
+ <tr>
+ <th scope="row">Contrib</th>
+ <td class="tdinput">
+ <select id="repo-contrib-input" name="repo_contrib">
+ <option value="public">Public</option>
+ <option value="registered_user">Registered user</option>
+ <option value="ssh_pubkey">SSH public key</option>
+ <option value="closed">Closed</option>
+ </select>
+ </td>
+ </tr>
</tbody>
<tfoot>
<tr>