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

@ -3,7 +3,7 @@
<:Body>
<li>
<a href="#">{{attrs.object}}</a>
<a href="#">{{marker(attrs.id)}} {{attrs.id}}</a>
{{ if(is_object?(attrs.id) ) }}
<ul>
{{content(attrs.id).each do |con3| }}

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>