2014-09-16 01:57:34 +00:00
|
|
|
<div id="yield">
|
2017-10-14 19:55:50 +00:00
|
|
|
<div class='centerContent'>
|
|
|
|
<%= render 'form' %>
|
2014-09-16 01:57:34 +00:00
|
|
|
</div>
|
2014-05-17 18:57:03 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<% Metacode.all.each do |m| %>
|
|
|
|
<% if m.inMetacodeSet(@metacode_set) %>
|
2014-09-16 01:57:34 +00:00
|
|
|
Metamaps.Admin.selectMetacodes.push("<%= m.id %>");
|
2014-05-17 18:57:03 +00:00
|
|
|
<% end %>
|
2014-09-16 01:57:34 +00:00
|
|
|
Metamaps.Admin.allMetacodes.push("<%= m.id %>");
|
2014-05-17 18:57:03 +00:00
|
|
|
<% end %>
|
|
|
|
</script>
|