Execute task and getting output from rake
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<p><label for="codes">
|
||||
CSV content goes here:
|
||||
</label><br />
|
||||
<%= text_area_tag "csv_content", @csv_content, rows: 20, cols: 70 %></p>
|
||||
<textarea id="csv_content" name="csv_content" rows=20 style="width: 100%"><%= @csv_content %></textarea></p>
|
||||
|
||||
<p><label for="task">Task: </label>
|
||||
<%= select_tag "task", options_for_select(@tasks) %></p>
|
||||
@@ -15,5 +15,5 @@
|
||||
|
||||
<br />
|
||||
<p><label for="output_area">Output area: </label>
|
||||
<div id="output_area" style="width: 36.4em;height: 14em;outline: 1px solid #A9A9A9;"></div>
|
||||
<div id="output_area" style="width: 100%;height: 14em;outline: 1px solid #A9A9A9; overflow: scroll"><%= @output.html_safe %></div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user