All basic question types
This commit is contained in:
parent
3e1e5618ca
commit
4fe218166f
51 changed files with 760 additions and 92 deletions
7
app/views/questions/_simple_form.html.erb
Normal file
7
app/views/questions/_simple_form.html.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
<input id="<%= "question_answer_#{question.id}" %>"
|
||||
type="text"
|
||||
value="<%= question.answer&.data || '' %>"
|
||||
autocomplete="off"
|
||||
data-behaviour="question_simple_input"
|
||||
data-submit-url="<%= answer_question_url(question.id) %>"
|
||||
/>
|
Loading…
Add table
Add a link
Reference in a new issue