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

15 lines
295 B
Text
Raw 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'>
2018-03-04 02:25:42 +00:00
{ render 'form' }
2014-09-16 01:57:34 +00:00
</div>
</div>
<script>
2018-03-04 02:25:42 +00:00
{ 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 }
2017-10-14 19:55:50 +00:00
</script>