2016-08-19 16:02:18 -05:00
|
|
|
<div data-id="live-coder-answer">
|
|
|
|
<div class="code-input">
|
|
|
|
<label for="question_input_options_html">HTML</label>
|
2016-08-23 21:54:53 -05:00
|
|
|
<%= text_area_tag 'question[live_code][html]', question.input_options['html'], { data: {id: 'code-html', last: question.input_options['html']}, class: 'code-answer code-html' } %>
|
2016-08-19 16:02:18 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="code-input">
|
|
|
|
<label for="question_input_options_css">CSS</label>
|
2016-08-23 21:54:53 -05:00
|
|
|
<%= text_area_tag 'question[live_code][css]', question.input_options['css'], { data: {id: 'code-css', last: question.input_options['css']}, class: 'code-answer code-css' } %>
|
2016-08-19 16:02:18 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="code-input">
|
|
|
|
<label for="question_input_options_js">JS</label>
|
2016-08-23 21:54:53 -05:00
|
|
|
<%= text_area_tag 'question[live_code][js]', question.input_options['js'], { data: {id: 'code-js', last: question.input_options['js']}, class: 'code-answer code-js' } %>
|
2016-08-19 16:02:18 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="results" data-id="results"></div>
|
|
|
|
</div>
|