File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,15 @@ const CMSAdmin = () => {
6161 action = { ( typeof editingGroup . id !== "undefined" ) ? `/team/groups/${ editingGroup . id } /` : "/team/groups/" }
6262 method = { ( typeof editingGroup . id !== "undefined" ) ? "PATCH" : "POST" } submitRef = { formSubmit }
6363 >
64- < Form . Group label = { "Name" } >
65- < Input placeholder = { "Name" } name = { "name" } val = { editingGroup . name } required />
66- </ Form . Group >
67- < Form . Group label = { "Description" } >
64+ < Form . Row >
65+ < Form . Group label = { "Name" } >
66+ < Input placeholder = { "Name" } name = { "name" } val = { editingGroup . name } required />
67+ </ Form . Group >
68+ { ( typeof editingGroup . id !== "undefined" ) && < Form . Group label = { "Group ID" } htmlFor = { "id" } >
69+ < Input val = { editingGroup . id } name = { "id" } readonly />
70+ </ Form . Group > }
71+ </ Form . Row >
72+ < Form . Group label = { "Description (for admin reference)" } >
6873 < Input placeholder = { "Description" } name = { "description" } val = { "" } />
6974 </ Form . Group >
7075 < Form . Group label = { "Self-assignable on team create?" } >
@@ -73,8 +78,6 @@ const CMSAdmin = () => {
7378 < Form . Group label = { "Has its own leaderboard page?" } >
7479 < Checkbox name = { "has_own_leaderboard" } val = { editingGroup . has_own_leaderboard } />
7580 </ Form . Group >
76-
77- < HR />
7881 </ Form >
7982 </ Modal > : null
8083 }
You can’t perform that action at this time.
0 commit comments