Your commit message
This commit is contained in:
parent
1478e07d7f
commit
320830fe6c
|
@ -88,15 +88,15 @@ $(document).ready(function () {
|
||||||
'<input type="text" class="form-control" disabled placeholder="Short answer text">'
|
'<input type="text" class="form-control" disabled placeholder="Short answer text">'
|
||||||
)
|
)
|
||||||
} else if (type === 'paragraph') {
|
} else if (type === 'paragraph') {
|
||||||
container.append(
|
container.append(
|
||||||
'<textarea class="form-control" disabled placeholder="Paragraph text"></textarea>'
|
'<textarea class="form-control" disabled placeholder="Paragraph text"></textarea>'
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
addOption(type, container)
|
addOption(type, container)
|
||||||
$(this)
|
$(this)
|
||||||
.closest('.form-section')
|
.closest('.form-section')
|
||||||
.append(
|
.append(
|
||||||
'<button class="btn btn-secondary add-option-btn">Add Option</button>'
|
'<button class="btn btn-secondary add-option-btn">Add Option</button>'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue