mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Made code more aesthetic
This commit is contained in:
parent
096ee00e07
commit
a40a63ae50
2 changed files with 76 additions and 86 deletions
|
@ -73,14 +73,9 @@
|
|||
<% table_hash = JSON.parse((Base64.decode64(table['contents']))) %>
|
||||
<% pio_table_id = "pio_table_prot_info_"+table_count.to_s %>
|
||||
<% protocol_table_elements_array.push([pio_table_id,table_hash['data']]) %>
|
||||
|
||||
|
||||
<div id="<%=pio_table_id%>" ></div>
|
||||
|
||||
|
||||
<% table_count += 1 %>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -115,14 +115,9 @@
|
|||
<% table_hash = JSON.parse((Base64.decode64(table['contents']))) %>
|
||||
<% pio_table_id = "pio_table_step_"+counter.to_s+"_info_"+table_count.to_s %>
|
||||
<% step_table_elements_array.push([pio_table_id,table_hash['data']]) %>
|
||||
|
||||
|
||||
<div id="<%=pio_table_id%>" ></div>
|
||||
|
||||
|
||||
<% table_count += 1 %>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue