Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
e163db0c
Commit
e163db0c
authored
Jul 23, 2022
by
Yoon, Daeki
😅
Browse files
key 추가
parent
f8d845da
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/questions/RadioForm.tsx
View file @
e163db0c
...
...
@@ -33,7 +33,7 @@ export const RadioForm = ({ element, handleQuestion, save }: Props) => {
<>
<
div
id
=
"content"
className
=
"mt-4 p-5"
>
{
choices
.
map
((
choice
:
any
,
index
:
number
)
=>
(
<
div
className
=
"m-5"
>
<
div
key
=
{
index
}
className
=
"m-5"
>
<
input
type
=
"radio"
disabled
></
input
>
<
input
id
=
{
`
${
index
}
`
}
...
...
frontend/src/survey/ResultSurvey.tsx
View file @
e163db0c
...
...
@@ -30,7 +30,11 @@ export const ResultSurvey = () => {
<
div
className
=
"container w-11/12 place-self-center"
>
{
data
.
map
((
item
)
=>
(
<
Accordion
title
=
{
item
.
title
}
content
=
{
item
.
content
}
/>
<
Accordion
key
=
{
item
.
title
}
title
=
{
item
.
title
}
content
=
{
item
.
content
}
/>
))
}
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment