fc784ffcb1
Squashed commit of the following: commit d41cbf66eb2a9ee705ab60bb156eed95881fa193 Author: Mark Moser <mark.moser@perficient.com> Date: Thu Aug 4 19:58:20 2016 -0500 live-coder-text validations commit 866bfeb863516a8656bc26b10f967d0b9b8d8505 Author: Mark Moser <mark.moser@perficient.com> Date: Thu Aug 4 11:57:57 2016 -0500 getting things green again and rebasing develop commit 28a23200f291e30c690b71e9bcae3e1a69eb3093 Author: Derek Montgomery <montgomerygraphics@gmail.com> Date: Thu Aug 4 10:14:23 2016 -0500 Progress on live coder text field
19 lines
701 B
Plaintext
19 lines
701 B
Plaintext
<% answer = @answer.answer || {} %>
|
|
|
|
<div class="code-input">
|
|
<label for="answer_live_code_html">HTML</label>
|
|
<%= text_area_tag 'answer[live_code][html]', (answer['html']), { 'data-id' => 'code-html', class: 'code-answer code-html' } %>
|
|
</div>
|
|
|
|
<div class="code-input">
|
|
<label for="answer_live_code_css">CSS</label>
|
|
<%= text_area_tag 'answer[live_code][css]', (answer['css']), { 'data-id' => 'code-css', class: 'code-answer code-css' } %>
|
|
</div>
|
|
|
|
<div class="code-input">
|
|
<label for="answer_live_code_js">JS</label>
|
|
<%= text_area_tag 'answer[live_code][js]', (answer['js']), { 'data-id' => 'code-js', class: 'code-answer code-js' } %>
|
|
</div>
|
|
|
|
<div class="results" data-id="results"></div>
|