skill-assessment-app/app/views/candidate/live_code.html.erb

19 lines
701 B
Plaintext
Raw Normal View History

2016-08-01 17:06:24 -05:00
<% answer = @answer.answer || {} %>
2016-07-29 11:00:04 -05:00
<div class="code-input">
2016-08-01 15:16:20 -05:00
<label for="answer_live_code_html">HTML</label>
2016-08-01 17:06:24 -05:00
<%= text_area_tag 'answer[live_code][html]', (answer['html']), { 'data-id' => 'code-html', class: 'code-answer code-html' } %>
2016-07-29 11:00:04 -05:00
</div>
<div class="code-input">
2016-08-01 15:16:20 -05:00
<label for="answer_live_code_css">CSS</label>
2016-08-01 17:06:24 -05:00
<%= text_area_tag 'answer[live_code][css]', (answer['css']), { 'data-id' => 'code-css', class: 'code-answer code-css' } %>
2016-07-29 11:00:04 -05:00
</div>
<div class="code-input">
2016-08-01 15:16:20 -05:00
<label for="answer_live_code_js">JS</label>
2016-08-01 17:06:24 -05:00
<%= text_area_tag 'answer[live_code][js]', (answer['js']), { 'data-id' => 'code-js', class: 'code-answer code-js' } %>
2016-07-29 11:00:04 -05:00
</div>
<div class="results" data-id="results"></div>