metamaps--metamaps/views/metacode_sets/new.html.erb
Connor Turland 36a58e4bf3 remove stuff
2018-02-15 13:47:28 -05:00

14 lines
312 B
Text

<div id="yield">
<div class='centerContent'>
<%= render 'form' %>
</div>
</div>
<script>
<% Metacode.all.each do |m| %>
<% if m.in_metacode_set(@metacode_set) %>
Metamaps.Admin.selectMetacodes.push("<%= m.id %>");
<% end %>
Metamaps.Admin.allMetacodes.push("<%= m.id %>");
<% end %>
</script>