metamaps--metamaps/views/metacode_sets/new.html.erb
2018-03-05 12:33:16 -05:00

14 lines
299 B
Text

<div id="yield">
<div className='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>