metamaps--metamaps/views/metacode_sets/new.html.erb
2018-03-03 21:25:54 -05:00

14 lines
295 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>