30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
<%
|
|
|
|
return nil
|
|
|
|
# don't load this partial yet. Will finish in issue #16
|
|
# https://gitlab.perficientxd.com/pdr/skill-assessment-app/issues/16
|
|
options = { 'text' => '', 'html' => '', 'css' => '', 'js' => '' }
|
|
%>
|
|
|
|
|
|
<div data-id="live-coder-answer">
|
|
<div class="code-input">
|
|
<label for="question_input_options_html">HTML</label>
|
|
<%= text_area_tag 'question[live_code][html]', options['html'], { data: {id: 'code-html', last: options['html']}, class: 'code-answer code-html' } %>
|
|
</div>
|
|
|
|
<div class="code-input">
|
|
<label for="question_input_options_css">CSS</label>
|
|
<%= text_area_tag 'question[live_code][css]', options['css'], { data: {id: 'code-css', last: options['css']}, class: 'code-answer code-css' } %>
|
|
</div>
|
|
|
|
<div class="code-input">
|
|
<label for="question_input_options_js">JS</label>
|
|
<%= text_area_tag 'question[live_code][js]', options['js'], { data: {id: 'code-js', last: options['js']}, class: 'code-answer code-js' } %>
|
|
</div>
|
|
|
|
<div class="results" data-id="results"></div>
|
|
</div>
|
|
|