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

15 lines
299 B
Text
Raw Normal View History

2014-09-16 01:57:34 +00:00
<div id="yield">
2018-03-05 17:33:16 +00:00
<div className='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 }
</script>