working more with id only

This commit is contained in:
Torsten Ruger
2015-08-19 00:08:28 +02:00
parent ef321dab26
commit d7e0cd665f
3 changed files with 6 additions and 5 deletions

View File

@ -8,7 +8,7 @@
<ul id="nav">
<a href="#">{{reg.name}} : {{reg.value}}</a>
{{ reg.fields.each do |attribute| }}
<:objects object={{attribute}} id={{attribute.object_id}} />
<:objects id={{attribute.object_id}} />
{{end}}
</ul>
</div>