metamaps--metamaps/app/views/metacode_sets/new.html.erb

15 lines
312 B
Text
Raw Permalink Normal View History

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>
</div>
<script>
<% Metacode.all.each do |m| %>
2018-01-21 22:21:00 +00:00
<% if m.in_metacode_set(@metacode_set) %>
2014-09-16 01:57:34 +00:00
Metamaps.Admin.selectMetacodes.push("<%= m.id %>");
<% end %>
2014-09-16 01:57:34 +00:00
Metamaps.Admin.allMetacodes.push("<%= m.id %>");
<% end %>
2017-10-14 19:55:50 +00:00
</script>